Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Help fields and conditions

Explorer ,
Jul 22, 2024 Jul 22, 2024

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?

TOPICS
How to , JavaScript , PDF
294
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Jul 22, 2024 Jul 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}

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 22, 2024 Jul 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}

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Jul 22, 2024 Jul 22, 2024
LATEST

Thank you!

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines