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

Validate checked checkboxes before allowing signature

Community Beginner ,
Aug 23, 2017 Aug 23, 2017

I have a task list with a checkbox against each task. I would like a user to complete each task and check each matching checkbox to show the task is complete. Once and only once all tasks are complete should they be permitted to sign. How do I impose such a condition on the signature field?

TOPICS
PDF forms
826
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 ,
Aug 23, 2017 Aug 23, 2017

You can't do it directly. The way to do it is to hide the signature field entirely and use a (hidden) field's calculation script to determine if it should be made visible, based on the state of the check-boxes.

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 Beginner ,
Aug 24, 2017 Aug 24, 2017

Thank you again.  That seems straight forward enough.  I'll give it a go and let you know if I have any issues.

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
Participant ,
Oct 02, 2024 Oct 02, 2024
LATEST

Can also make read only.  Run this code in the checkbox field.

 

if(this.getField("[name of check box field]").value == "Off")
this.getField("[name of signature field]").readonly = true

else
this.getField("[name of signature field]").readonly = 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