Skip to Content
0
Former Member
Oct 14, 2011 at 02:54 AM

Dynamic display of mandatory field

129 Views

Hi Experts,

I have Field A and Field B on UI, Field A has list of values: 1,2,3 and 4.

Requirement is when User selects values 2 or 3 in Field A then Field B needs to be displayed as mandatory field.

If User selects 1 or 4 in Field A then Field B needs to be displayed as non-mandatory field.

Please give me suggestions on how to implement this in get_p method or do we have any other way?

Thanks in advance.