Highlighted

Validation / Reset Functions, easy to manipulate and to change Forms!!!!

Magus069

MVP

24-07-2014

Hello everyone,

I've just opened this discussion free to everyone to discuss about any easy way to validate / reset form fields.

I'm providing a development tool to be used in LiveCycle Designer with a new way to validate and reset forms in any ways. You can change the design of PDF Forms without having to change much code.

The validation function is to validate any field which returns null / 0

It is independent / self-responsive to the design of any forms. I'm working on the function to make sure it can work with any kind of settings set in PDF forms.

The objects which contains the functions are not to modify (unless you know what to modify), you can add any specific validation to your form by adding field/subform names in the exception arrays.

All your specific validation is to be inserted in the validate buttons. It is also possible to validate only a part of the form, 1 page, 2 pages or a subform only.

Instructions to use the functions are in the PDF Form to download below, take a look, feedback and questions are always welcome as well.

TemplateDesign_Validation_Reset_Form.pdf - Google Drive

Hope this will help some of you.

Mag

Replies

Highlighted

kgetch

17-09-2014

Hi Mag,

I'm back with another problem. I've been honing your sample script into a couple of forms of mine. Recently, the front office folks have made several changes to theit original which I now need to incorporate into my form.

When I was informed they had changes coming down, I tabled my work on the form. Well, now that I have thier changes, I went to print out what I currently have so I can do a side by side compare and mark up the changes I need to do.....and found the form wont print.

I keep getting a pages not selected error. I did discover that if the form is completely filled in, it will print.

I looked through your script object and all my additional scripts for anything that looks like it might stop a print request but did not find anything. Have you experienced anything similar with forms using your validation script?

Any help would be appreciated! Thanks!

Highlighted

Magus069

MVP

18-09-2014

Nope, I doubt it has to do anything with my script provided... I could take a look at it if you want this seems like a weird issue..

Highlighted

Magus069

MVP

09-10-2014

Hi folks,

I have added some bling bling to my validation to make it look more like Adobe Validation with the red borders for each fields that is not filled in to make it better for the user.

Take a look, the last version is still up in case that this latest version has some minor errors.. I doubt there is errors but we never know..

TemplateDesign_Validation_Reset_Form.pdf - Google Drive

Highlighted
Highlighted

Magus069

MVP

10-08-2015

The PDF is stored on google drive and need to be downloaded on your computer to preview the form...

if you can't download it I can send it by email no prob

Highlighted

Magus069

MVP

12-08-2015

Hi everyone...

I am very sorry for the latest version I've provided to some of you...

I took a look at it and realize there was some errors with the validation...

I've updated the version so now it is working well...

Eventually I'll make a more complex and complete form of the validation / reset script functions..

for now enjoy the functions and again I'm sorry for the inconvenience!

Highlighted

Magus069

MVP

28-01-2016

Hi everyone, I'm back with new features!

I've implemented new functionalities within the form

New Functionalities consists in giving you better ideas for good user friendly choices.

I've decided to give to the public my ideas for different options for managing a PDF Form.

This is only basics as to what it can really do when creating complex forms.

I hope this will help you throughout your forms creations.

New Functionalities :

Change group of fields from open to readOnly, and from readOnly to open

Dialog Manager to be able to manage the form's object/subform/sub-sections presence at the beginning of the form instead of throughout the form.

Multiple Dialogs Wizard (Next and Previous dialogs), for multiple options ('x' number of checkboxes)

Also I've improved the Validate and Reset functions

If anyone has any ideas that would like to be developed and/or added to this form, please inform me it would be my pleasure to add new features for a complete help form.

I have many other ideas upcoming, this is not the end for developing this form.

TemplateDesign_Validation_Reset_Form.pdf - Google Drive

Hope this will come in handy!