Hi All,
I have to display the subform based on the dropdown value and once the subform is visible there are some fields that needs to mandatory. I have tried in all ways but is not working, it would be great if someone help on it, as the development is on hold.
Sample script
if(this.rawValue == "Accept")
{
Page1.Accept.presence = "visible";
Page1.Accept.TextField1.mandatory = "error";
Page1.Denial.presence = "hidden";
Page1.Denial.TextField3.mandatory = "disable";
}
else if(this.rawValue == "Denial")
{
Page1.Accept.presence = "hidden";
Page1.Accept.TextField1.mandatory = "disable";
Page1.Denial.presence = "visible";
Page1.Denial.TextField3.mandatory = "error";
}
Thank you in advance
Regards,
Apurva