Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Set Field as Required

Avatar

Level 4

I would like to make a field required based on the which radio button is selected. Example:

     Next available date

     Specific date

     If the user selects specific date then the following date field need to be required.

Thanks you any assistance.

Parre

1 Accepted Solution

Avatar

Correct answer by
Level 10

You can write in the click event of the radiobutton: Java Script

if(RadioButton1.rawValue == "Value to Compare"){

      SpecificDate.mandatory = "error";

}

else{

     SpecificDate.mandatory = "disabled";

}

Thanks

Srini

View solution in original post

0 Replies

Avatar

Correct answer by
Level 10

You can write in the click event of the radiobutton: Java Script

if(RadioButton1.rawValue == "Value to Compare"){

      SpecificDate.mandatory = "error";

}

else{

     SpecificDate.mandatory = "disabled";

}

Thanks

Srini