Hi,
I have two fields called as "PHI Impact Risk" and "If Yes Explain" fields. "PHI Impact Risk" is Boolean data type "Yes/No". "If Yes Explain" is String. I would like to write the code for -
If user selects "PHI Impact Risk" as "Yes", automatically the "If Yes Explain" should get converted to Mandatory field and should give warning to user mentioning "It is required field".
If user selects "PHI Impact Risk" as "No" then "If Yes Explain" should not be mandatory.
Attributes -
"PHI Impact Risk" the name/attribute in DB is "_PHIImpactRisk"
"If Yes Explain" the name/ attribute in DB is "_PHIimpactexplain"
Can someone please send me the calculation code for the above?
Thanks,