Setting a check box as 'required'

Jul 19, 2019

Copy link to clipboard

Copied

I have made a form in Indesign and set a check box as 'required'. However the form is allowing it to be submitted without this box checked.

I have looked at the form in Acrobat and the field is set as 'required'.

How can I change this?

TOPICS
Acrobat SDK and JavaScript

Views

138

Likes

Translate

Translate

Report

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

Setting a check box as 'required'

Jul 19, 2019

Copy link to clipboard

Copied

I have made a form in Indesign and set a check box as 'required'. However the form is allowing it to be submitted without this box checked.

I have looked at the form in Acrobat and the field is set as 'required'.

How can I change this?

TOPICS
Acrobat SDK and JavaScript

Views

139

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Jul 19, 2019 0
Jul 19, 2019

Copy link to clipboard

Copied

You would need to use a script to do it. Try searching the JavaScript forum for "validate required fields" and you'll find some code examples.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 19, 2019 0
Adobe Employee ,
Jul 19, 2019

Copy link to clipboard

Copied

Moving this query to JavaScript​ space for for further suggestion.

As suggested by the expert "try67" you can look into some similar discussion here:

Help with Validation JavaScript for Empty Field

JavaScript Validation to Submit Form

Re: Check to see if any field is empty

Thanks,

Akanchha

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Jul 19, 2019 0