Expand my Community achievements bar.

Validate before email submit via Distribute form method

Avatar

Former Community Member

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