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

Validating User Selection for Combo Box

Guest
Nov 03, 2016 Nov 03, 2016

I have a form which utilizes several combo boxes which are required to be filled out by the user. The default value of these combo boxes are "-- Select --". How would I write validation which requires the user to select any other value held in the combo box?

TOPICS
Acrobat SDK and JavaScript
339
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 ,
Nov 04, 2016 Nov 04, 2016

The first step is to define what you mean by "require". What should happen if the user doesn't make a selection?

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
Guest
Nov 04, 2016 Nov 04, 2016

If the user doesn't make a selection then the form should not allow them to utilize the submit button, which sends the pdf in an email to a specified email address.

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 ,
Nov 04, 2016 Nov 04, 2016
LATEST

Have you searched the forums for validation of required fields? I've posted the code that does that many times...

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