I have a form that is really two forms in one. Toip section and a bottom section. Each section has a send by e-mail button that sends the PDF form to the next department. I want the top half of the form to verify all required fields are completed when the send by email button in that upper section is clicked. Then I want the bottom section send by email button to verify only the bottom section before sending the form. Is there a way to break it up into two sections like this?
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
If each part of the form is in its own subform, then you can by targeting the subform that you want to validate. For example the topSection email button would have in the click event:
if (topSection.execValidate() == true) {
// send email script
}
else {
// warn user script
}
Hope that helps,
Niall
Views
Replies
Total Likes
Hi,
If each part of the form is in its own subform, then you can by targeting the subform that you want to validate. For example the topSection email button would have in the click event:
if (topSection.execValidate() == true) {
// send email script
}
else {
// warn user script
}
Hope that helps,
Niall
Views
Replies
Total Likes
That works great! Thank you, thank you.
-Don
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies