Required groups

New Here ,
May 19, 2022 May 19, 2022

Copy link to clipboard

Copied

I have a form with several groups. Each group has 5 check boxes. This is a survey using 1-5 where only one box should be checked, but at least one box is required for that group. When I set the first box in the group to required, all 5 become required. Does anyone know if this is possible in Adobe Acrobat Pro DC?

TOPICS
PDF forms

Views

29

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
community guidelines
Adobe Community Professional ,
May 19, 2022 May 19, 2022

Copy link to clipboard

Copied

You will have to use a script to validate such groups.

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
community guidelines
Adobe Community Professional ,
May 19, 2022 May 19, 2022

Copy link to clipboard

Copied

LATEST

If you wish to make them non-required if any of the box is checked, use this script as 'Custom calculation script' of one of the text field (you can create new text field and hide it or use existing text field) or use script in each of checkboxes in a group as 'Mouse UP' event:

this.getField("c").required = this.getField("c").valueAsString == "Off" ? true : false;

Change "c" to the name of your group.

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
community guidelines