Planet PDF Forum Planet PDF Forum
  New Posts New Posts RSS Feed - Form level validation for required fields
  FAQ FAQ  Forum Search   Register Register  Login Login


Hi, welcome to the Foxit Planet PDF Forum. If you have PDF or Adobe Acrobat questions then the right place to ask them is here, in this forum.

Form level validation for required fields

 Post Reply Post Reply
Author
MattB12 View Drop Down
New Member
New Member
Avatar

Joined: 28 Nov 2017
Location: United States
Points: 3
Post Options Post Options   Quote MattB12 Quote  Post ReplyReply Direct Link To This Post Topic: Form level validation for required fields
    Posted: 01 Dec 2017 at 1:51am
I have yet to be able to solve this scripting problem so I am hoping that someone can assist.

I have a dynamic pdf form created in LC where I have a need to validate if all required fields have data entered in them byway of a button (not a submit button as all I am doing is verifying that all required fields have data entered in them).

The type of fields that I have;
Text
Date/Time
Radio Button
Check Box
Drop Down List
Numeric Field
Expanding Table

If a button were to be pushed (Ok or Print) and certain required fields were left empty than only those fields should be highlighted along with a message box (app.alert) telling the form user that all required fields have not been filled out. If the button were pushed and all required fields had been completed than a message box should pop up telling them that all required fields have been filled out and they may now proceed by applying a digital signature. Until all required fields are filled out the digital signature box should be either disabled (viewable but cant do anything with it) or hidden and then becomes viewable after successful form validation.

There are many hidden objects/subforms which may become visible depending on user selections. When these objects and/or subforms are hidden they should not be considered a required field for this purpose.

I have tried to piece mail scripts together using what I have learned while creating this form, online forums and a few references but have yet to be successful.

https://help.adobe.com/en_US/livecycle/es/LiveCycle_Designer_Scripting_Basics.pdf
https://helpx.adobe.com/pdf/aem-forms/6-3/scripting-reference.pdf
Back to Top
Sponsored Links


Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.10
Copyright ©2001-2017 Web Wiz Ltd.

This page was generated in 0.016 seconds.