Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.

Doing action after a 'submit' doesn't pass the validation


Level 2

LiveCycle when submit is pressed validation gets performed and then it says that mandatory fields are not filled in.

After that I want to perform a script to do something. Where do I place that javascript.

1 Reply


Level 10

Hi there,


One way to do this you'd have to use JavaScript to complete the submit along with the validation.

See the following link:



This way you might have to find how to achieve the appropriate validation before executing the submit function.

Afterwards, you can do some extra script to your liking.


Hope this will help.