Skip to main content
Known Participant
July 22, 2024
Answered

Help fields and conditions

  • July 22, 2024
  • 1 reply
  • 520 views

Hello! I'm trying to make a form that allows for several students to be entered with a dropdown course exam list for each student entered. I've created checkboxes for Exam Type: Retest and Recertify. I want to create a required Date field for Date of Original Exam ONLY IF the Retest checkbox is chosen.  Each section will also have a required Proposed Exam Date field. Can anyone help me with this?

This topic has been closed for replies.
Correct answer PDF Automation Station

In the mouse up action of the Restest check box, enter the following script:

if(event.target.value!="Off")

{this.getField("Retest Date").required = true}

else

{this.getField("Retest Date").required = false}

1 reply

PDF Automation Station
Community Expert
Community Expert
July 22, 2024

In the mouse up action of the Restest check box, enter the following script:

if(event.target.value!="Off")

{this.getField("Retest Date").required = true}

else

{this.getField("Retest Date").required = false}

Known Participant
July 22, 2024

Thank you!