Комментарии:
Hi sir , this was helpful, but i have one doubt, if we select two options in multiselectoptionset field, i want to show one field is mandatory , for that how to write the conditon
ОтветитьAssalam alikum Taha please help me with this code = Create a text field named Name of Parent Account. Write a JS function which would trigger on change of the parent Create a whole number field with minimum value 0 and max value 100 named as Rating Percentage. Create another option set field named as "Rating Category" with values Hot, Warm, and Cold. Write a JS function on save of the form. This function should check if a value is present in Rating Percentage field, if yes, then below logic should be applied:
If the Rating percentage is between 0 to 40 then set Rating category to cold
If the Rating percentage is between 41 to 70 then set Rating category to warm
If the Rating percentage is between 71 to 100 then set Rating category to hot
If no value is selected, the stop the form from getting saved and show an error message, please provide a value in Rating Percentage field.
Thank You
ОтветитьThanks for the help! You teach well and make it easy to follow! :D
Ответить