Field validation in PDF forms

Avatar

Avatar

dalsal

Avatar

dalsal

dalsal

04-08-2010

Hi everyone,

I am trying to create PDF forms with Livecycle Designer ES (ver 8).

These forms are intended only for printing, there is no data collect or link.

For some of the fields the users have to fill in, I have defined validation format.

I noticed that when the data entered in the field doesn't match the pattern, the user get an error message but the data is displayed anyway in the field and the user still able to click OK and proceed with filling in the form.

Does anybody knows how to check data and disable displaying it in the field when it does'nt match the validity pattern?

Any help is welcome, thank you.

Accepted Solutions (0)

Answers (1)

Answers (1)

Avatar

Avatar

Srini_Dhulipall

Avatar

Srini_Dhulipall

Srini_Dhulipall

04-08-2010

You can write script in the Validate event of the field to check for the validity of the format and if does not match then you can set the rawValue to empty ("")

Thanks

Srini