Quantcast
Channel: Adobe Community : Discussion List - LiveCycle Forms
Viewing all articles
Browse latest Browse all 1160

validate required fields before using custom email button

$
0
0

Good Morning,

 

I have a custom button that I am using as a email button so we could have a cc address added. The code I'm using is:

 

form1.subform.Button3::click - (JavaScript, client)

 

var oDoc = event.target;
oDoc.mailDoc({
bUI: true,
cTo: "test@email.com",
cCc: "cc@email.com",
cSubject: "Title of the form",
});

 

Is there a way I can validate that 3 text fields are filled in when the user clicks the button?

 

Thank you for any help you can provide.

 


Viewing all articles
Browse latest Browse all 1160

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>