Handling form submission via Enter key and multiple confirmation popups

13 views
Skip to first unread message

cam spider

unread,
Sep 20, 2025, 8:36:28 AMSep 20
to Excellent Data Filler
Dear friend,

The site has no submit button. Instead, the form only submits when the user presses Enter after the last field.

After pressing Enter, there are two pop up prompts:
  1. “Are you sure all data is correct?” → requires pressing OK
  2. “Entry has been successful” → also requires pressing OK
After the second OK, the page reloads to the same URL.

So far I’ve tried the following approaches without success:

  1. Selected the XPath of the last text field after it was filled (the same one already used in the selector to fetch data from Excel) and assigned the field type as {FORM-FILLED}. In the trigger JavaScript event I added ENTER and mouse enter, but nothing happened.
  2. Changed the field type to keyboard event and again set the JavaScript event as ENTER and mouse enter, but still no result.

Is there any way to handle this workflow with the extension?

Thanks a lot!

C Tech Hindi

unread,
Sep 20, 2025, 10:47:48 AMSep 20
to Excellent Data Filler
All approach is perfect.

Q - if the site has no submit button work with enter key?
Solution - You can use field type **Keyboard Event** and set then field default value as **Enter** and set the **Trigger Javascript Event** as **Enter** and **Mouse Enter**.

- https://docs.edfiller.in/documentation/field-types/javascript-events#keyboard-event

Some site have trigger **Submit** Event instead of **Enter** key. So you can use field type **Submit** to trigger the **Submit** Event.

if not working then use field type **X Send** and set field default value as **{Enter}**.

https://docs.edfiller.in/documentation/field-types/program-helper.html#x-send

Q - how to handle the two pop up prompts?
Solution - You can use field type **Hide Alert Dialog** and **Hide Confirm Dialog** to handle the two pop up prompts. Insert this fields above the **Submit** button field type **Keyboard Event**.

- https://docs.edfiller.in/documentation/field-types/javascript-dialog#hide-alert-dialog
- https://docs.edfiller.in/documentation/field-types/javascript-dialog#hide-confirm-dialog
Reply all
Reply to author
Forward
0 new messages