Signature Field, need dialog before signing popup


hi,

i create following scenario:

the user clicks on signature field , popup dialog box appears following message: "you signing have read , understand contents of document" [with yes/no buttons]. if click on yes, javascript continues normal signing dialog box. if user clicks on no return form.

for example, this... however, click event not used signature fields.

var nbutton = app.alert({cmsg: "you signing have read , understand contents of document",
ctitle: "electronic signature confirmation",
nicon: 2,
ntype: 2});
if ( nbutton == 4 ) {
participantsignature.presence = "visible";
xfa.host.setfocus("participantsignature");
participantsignature.execevent("click");
}

thanks
john

you love solution. code works part. did research , found signature kicks off @ 'enter' event not 'click' though appears happen @ 'click'. added , additional text field name 'textfield1' design , add following code enter event of text field.

signaturefield1.access = "open";

and updated javascript code following , used in 'enter' event not in 'click' event. clear code have in click event.

var nbutton = app.alert({cmsg: "you signing have read , understand contents of document",
ctitle: "electronic signature confirmation",
nicon: 2,
ntype: 2});
if ( nbutton != 4 ) {
signaturefield1.access = "protected";
xfa.host.setfocus("textfield1");
}

i have tested , hope resolves issue. if need sample specify email id.

good luck,
sekharn
www.lawson.com


More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments