OnSubmit Client script to set value of assignment group

Deepika Mishra
Mega Guru

I am trying to set value of assignment group using client script on onSubmit functionality, but the below code is not working. Please help :
find_real_file.png

1 ACCEPTED SOLUTION

Michael Fry1
Kilo Patron

You should use an Assignment rule. All that script is doing is setting an assignment group variable, not the assignment group on the record.

View solution in original post

25 REPLIES 25

Brandon Barret1
Mega Sage

I would use an onChange script for this, is there a reason you are using onSubmit? 

yes it has to execute onsubmit

Have you checked to make sure your condition is actually true? Is the value of the field tax? 
can you add an alert statement to show "authorityValue"?

I have added an alert Inside tax and am able to see that on clicking submit button.