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

Validate before email submit via Distribute form method

Avatar

Level 1

Hi,

We have a form that we would like to send out via the "Distribute Form" feature on LiveCyle.

The form is curently implemented with a "Button" on the form, when clicked would activate a "Email submit button" which would do validation and then fire the emailing processing of the form. However, this does not work well when using the "Distribute Form" feature as the "Distributed" version of the file adds in a seperate "Submit form" button on the top right which does not use the same event handler that we currently have been using.

So if a user chooses the "Submit Form" button that appears on the "distributed" version of the form, we are not able to control the validation aspects of the form. i.e. there is no event handler that we can attach for the MouseUp or Click events for this button. We did try using the main form's PreSubmit event handler but could not figure how to stop execution if validation fails?

Hope the above makes sense? (I could provide a sample if required)

Thanks.

0 Replies