0

I have three columns of type 'Person or Group' as above. I want all the columns to be populated at once when user input 'FirstName LastName' column.

enter image description here

I created a Workflow as above, but it only populated after user save and refresh the list.

I wonder if I could set up a specific timing (when user input the first column) to start the Workflow or any other way to populate all the other columns at once other than using this Workflow.

Thanks,

1 Answer 1

0

My first thought is to just hide the email and role fields using content types and have the workflow set those to match upon submit. That seems like the easiest, most straight forward approach. If that doesn't meet your needs you could do this via javascript/jQuery. I've done similar using the below

$(document).on("change, keypress", "input[title='FieldName']", FunctionToRun);

FieldName = FirstName LastName

FunctionToRun = the name of the function that sets the email and role fields:

$("input[title='Email']").val($("input[title='FirstName LastName']").val())
1
  • Thank you:) Your first approach seems practical for my environment.
    – mercredi
    Commented Mar 2, 2018 at 15:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.