Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

LiveCycle Designer - How do you stop the "Submit by E-mail" button to generate the email if the Signature Field object is not signed but allow to generate when signed?

Avatar

Level 1

I am trying to stop the Submit by Email button in LiveCycle Designer from generating the email to send when clicked, if the Signature Field on the form is sign then it will be able to process normal.

How do I complete the formula?

So for this is what I have:

var oState = event.target.getField("Form1[0].Main3[0].SignatureField[0]").signatureValidate();  

if (oState != 0)  

     EmailSubmitButton.execEvent("click");

else 

     xfa.host.messageBox("You have not signed the form. \n\nPlease click OK and then click the signature field to sign the form. \n\nThank you!", "Error submitting this form", 0, 0);   

  Form1.Main3.EmailSubmitButton.validate = "disabled"

}

Thanks

1 Reply

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now