Skip to main content
Inspiring
Aug 3, 2017 8:04 PM UTC
Question

I have already written script for disabling the signature field until 5 other fields have been completed. But I don't know how to do that with 5 buttons I have.

This is my current script:

if(event.value != ""

&& this.getField("Name").value != ""

&& this.getField("Phone Number").value != ""

&& this.getField("Email Address").value != ""

&& this.getField("Directorate").value != "Select from Dropdown") {

this.getField("User's Signature").readonly = false;

} else {

this.getField(User's Signature").readonly = true;

}

This topic is closed to new replies. Start a new post to keep the conversation going.

8 replies

Bernd Alheit
Community Expert
Community Expert
Aug 4, 2017 12:03 PM UTC

You can set the buttons also as readonly.

Translate
SIPRNet11Author
Inspiring
Aug 4, 2017 12:56 PM UTC

My apologies, my question wasn't clear.  The user will need to answer the first 5 "fillable" questions (One of them being a dropdown menu) and the other 5 "button" questions, they need to select either YES, NO, or N/A.  Once they've completed all 10 questions, the digital signature button will be available.

Translate
try67
Community Expert
Community Expert
Aug 4, 2017 1:07 PM UTC

Do you mean "radio-buttons"? Buttons don't have a selectable value...

Translate