Dynamics 365- Show or hide fields based on Multi-Select Option Set

preview_player
Показать описание
In this demo, multiselect option set is used to show or hide field/ fields based on selected value using JS
#Dynamics365 #CE #MultiSelectOptionSet
Рекомендации по теме
Комментарии
Автор

Thanks for the help! You teach well and make it easy to follow! :D

chickennuggies
Автор

Thanks for sharing this. Will this work on Portal side basic form too?

RS-ocpl
Автор

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

gangadevib
Автор

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.

Arman