Swapnil Shirsik
Giga Guru

Hi Everyone,

Came across an observation which might help-

While we were creating a record producer- user had to select value from dropdown (say 1,3,5)- based on this selection- some questions should be appearing (say 2,10,20)

Example- user selects 1- question 2 should appear, user selects 3- question 10 should appear, user selects 5- question 20 should appear.

In requirement we were asked to make these questions-2,10,20 mandatory so we made these single line text variables mandatory.

Now comes the tricky part- we configured UI policies for this condition- so that based on dropdown value selection-which question should appear-user selects 1- question 2 should appear, user selects 3- question 10 should appear, user selects 5- question 20 should appear.

 

It did not work- every question was present on portal irrespective of the value selected by user.

Solution- Dont make variables mandatory while creating them which needs to be later visible based on user response- We made variables mandatory and in ui policy gave required condition and in ui action we made these variable mandatory and visible.

It works.

Credits-Rajan Upadhyay

Version history
Last update:
‎03-26-2019 04:20 AM
Updated by: