Skip to main content
Firesail
Participant
March 20, 2017
Answered

Check Dropdown List for Yes or No before allowing Signature

  • March 20, 2017
  • 1 reply
  • 745 views

I have a form with multiple signature fields and multiple dropdown lists (all lists have same values " " {Space (acting as blank)}, Yes, No). I want to prevent a signature from being added to PrepSign1 if DropDown1 & 2 are not set to either Yes or No.  Below is a sample of my form. I have a total of 8 signoff's for each level (Prep/Reviewer).

This topic has been closed for replies.
Correct answer try67

You can do it by creating a hidden text field with this code as its custom calculation script:

this.getField("PrepSign1").display = (this.getField("Dropdown1").value==" " || this.getField("Dropdown2").value==" ") ? display.hidden : display.visible.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
March 20, 2017

You can do it by creating a hidden text field with this code as its custom calculation script:

this.getField("PrepSign1").display = (this.getField("Dropdown1").value==" " || this.getField("Dropdown2").value==" ") ? display.hidden : display.visible.

Firesail
FiresailAuthor
Participant
March 21, 2017

Where would I input this script? On PrepSign1?

try67
Community Expert
Community Expert
March 21, 2017

As I wrote, you should put it as the custom calculation script of a hidden text field that you'll add to your file.