Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.

Finding a cell that has been badly entered

Avatar

Level 1

Hello everyone,

In my pdf form (adobe acrobat 9), I have several cells that ask for a date. I order for all the dates to be written the same way, I have put a validation model in place. The problem is that went people want to send the form and that one of those date cells is not properly entered, a error message appears but does not say where in the document (17 pages) the date cell has been wrongly entered. What can I do about this?

Thanks for your help

ian

8 Replies

Avatar

Level 6

What do you mean by "validation model", exactly? You can set a up a date format for a field, either using one of the built-in ones or create a Keystroke/Format JavaScript yourself, or you could also use a custom Validation JavaScript. Another option is to use a script to check the fields for correctness when the submit button is clicked. With a custom script, you can provide the user more information in the error message. If you're using a custom script, it would be helpful to see what it is and we can suggest some revisions.

Avatar

Level 1

Hello George,

I guess I am using a built-in date format. I am using a French version, so I just translated "modèle de validation" by "validation model". You can see what I mean on the screen shoot below.

Capture décran.png

Does that help ?

Thanks a lot

ian

Avatar

Level 6

I thought you might be using LiveCycle Designer. You will get better responses if you post this question in the LiveCycle Designer forum here: LiveCycle Designer

Avatar

Level 1

OK... Do you know how I can do that? If you can do it I am happy for you to do so.

Thanks

ian

Avatar

Level 1

Thank you for that.

Hope someone will take over the help.

ian

Avatar

Level 10

Hi Ian,

When Reader 9.1 came out (in March 2009) they added a "Color Failed Fields" option under Form Properties ... Form Validation, in Designer you should be able to target Reader 9.1 under Form Properties ... Defaults.

Do you still have any user using Reader versions before 9.1?  If so you will probably have to write your own validation library.  Here are some links that might help get you started;

Validation Patterns: Part 1

http://forms.stefcameron.com/2006/08/24/complex-validations/

and maybe

Customize a Validation Experience

Regards

Bruce

Avatar

Level 1

Hi Bruce,

Thanks for your reply. I do not really understand what I should do. Is it for the end user to fiddle with his options under Reader? Because I do not see where I can do anything while editing my form under Designer. 

Form users before 9.1 I am not going to bother, it is to complicated for me.

Thanks.

ian