cancel
Showing results for 
Search instead for 
Did you mean: 

Validating Digital signature using java script

former_member227181
Participant
0 Kudos

Hi Guys,

I'm using multiple digital signatures in adobe form. client requirement is they should be able to validate the form after generating the form. For example, consider there are two users A & B & there are two digital signatures in the form DS1 & DS2. When A log in and changed the status and action will trigger and generate the form F. The form F should display only DS1 and DS2 should be invisible & DS1 Should be sign-able to A. When B log in to the system, if he opens the already generated Form F, then F should be able to display both DS1 & DS2 and DS1 should be display mode.

For the first scenario I have done the validation for the field DS2 in scrpts in initialize event using formcalc and it is working

if ( LocalVariable.rawValue eq null )

then data.pagef.SignatureField2.presence = "hidden"

endif

For the second scenario I have done the validation for the field DS1 in scripts in postsign

event using formcalc but it is not working (After generating the form event should trigger)

if ( SignatureField1.rawValue ne null )

then data.pagef.SignatureField2.presence = "visible"

endif

Help would be appreciable.

Accepted Solutions (0)

Answers (0)