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

Requiring at least one checkbox selected within a group of checkboxes, same issue with text fields

Community Beginner ,
Sep 14, 2019 Sep 14, 2019

I’m creating a form for requesting inspections. The user may request multiple types of inspections; however, specifying at least one of them must be required. I’m using checkboxes to specify the different types of inspections that may be requested. Is there a way to group all checkboxes as a single required field so at least one checkbox is selected when the user submits the form? I’d also like to accomplish this with text fields, where a single permit number must be specified; however, more than one permit number may be submitted. The form currently has different text fields for specifying the different types of permit numbers. Any and all recommendations will be greatly appreciated.

3.2K
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 ,
Sep 14, 2019 Sep 14, 2019

I am unclear about when you say that you want all checkboxes to be grouped in a single text form field.

 

If what you are asking is to group the string of text that will appear in text form field as a result of a choice that will be provided to the users when they tick on a radio button or a check box, then you probably need a javascript to concatenate all those selected answers to be able to display them in the field you want as a text string.

 

Can you share a screenshot of what you are trying to achieve?

 

 

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 ,
Sep 14, 2019 Sep 14, 2019
I'd like for the checkboxes to treated as a required entry, at least one must be selected. There's another section within the form where I would like at least one text field entry made. The required fields are indicated by a red bullet. I can't seem to figure out how to insert a photo here, so I'm providing a dropbox link to a pair of screenshots.
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 ,
Sep 14, 2019 Sep 14, 2019
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 ,
Sep 15, 2019 Sep 15, 2019
LATEST

radio button.png

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