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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

event.target.submitForm() not working in HTML5

Avatar

Level 8

I tried to use event.target.submitForm() to submit HTML5 form to tomcat server, and it seems that it has not effect.

However, a regular submit button is submitting the form.

I just wanted to make sure that my findings are correct. I prefer to use Javascript to submit the HTML5 instead of changing the target url of the submit button and invoking the click event.

Appreciate your feedback.

Tarek

0 Replies

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now