• Resolved Cyriac Athickal

    (@cyriacathickal15)


    Hi,

    Upon enabling the ajax submission I was able to submit the form for first time. But when I tried to submit the same without refresh ajax submission is not working.

    I tested it by deactivating the plugin and switching the theme but nothing happened. Can someone help m e on this?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Hey @cyriacathickal15 – Thanks for reaching out!

    When you have sometime, can you please share the page URL where the form is embedded so I can take a closer look?

    Kindly,

    Hey @cyriacathickal15 – We haven’t heard back from you since my previous message, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

    Thread Starter Cyriac Athickal

    (@cyriacathickal15)

    Hi Prashant,
    Sorry for the late reply.
    Please find the link attached.

    https://staging.protoexpress.com/sierraelectrotek-v2/career/account-manager

    Hey @cyriacathickal15 – Thanks for sharing the URL. I looked into the form, and I was able to replicate the issue with the form submission when trying to submit the form a second time. I noticed that the form would redirect to an “admin-ajax.php?wpforms_form_id=3250” URL.

    When you have some time, can you please share the form export file so I can do some testing on my end?

    Kindly,

    Thread Starter Cyriac Athickal

    (@cyriacathickal15)

    Hi Prashant,

    Please find the exported form https://we.tl/t-ngJoPlzTC8

    Hey @cyriacathickal15 – Thanks for sharing the export file!

    I looked at the file you shared, and it looks correct including the form confirmation wherein you’re displaying a message. When you have some time, can you please check with some custom code has been added that’s modifying the submit behavior?

    Kindly,

    Thread Starter Cyriac Athickal

    (@cyriacathickal15)

    Hi Prashant,

    Yes. I have added the custom hook to display the success message after the submit button and to show the form after submit. This is the code I’ve added. Upon removing the code the form get removed and only the success message is displayed.

    add_action('wpforms_frontend_confirmation_message_before', 'wpf_dev_frontend_output_success', 1000, 4);

    Hey @cyriacathickal15 – I tested the code on my end, and the specific issue that you’re facing I’m unable to replicate in my dev setup. In this specific case, I’d suggest you perform some plugin or theme conflict test to see if that fixes the issue.

    Kindly,

    Hey @cyriacathickal15 – We haven’t heard back from you since my previous message, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Kindly,

    Thread Starter Cyriac Athickal

    (@cyriacathickal15)

    Hi Prashant,

    Sorry for the late reply. I have checked the form by deactivating the plugins and switching the themes. The result is still same. On initial submit the form is submitting. but on second time it’s not working.

    Hey @cyriacathickal15 – Thanks for following on this ticket!

    I looked at the form again, and I noticed that you’re using the paid version of WPForms on the website. If you have an active license subscription with us, could you please submit a support ticket through the WPForms account dashboard when you have a chance??

    From there, our support team will be able to take a closer look at your request. 

    Thanks!

    Thread Starter Cyriac Athickal

    (@cyriacathickal15)

    Thanks Prashant. Will open a ticket in the WP Forms account dashboard. Thank you for the support.

    You’re welcome, and thanks for understanding ??

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Ajax resubmission not working’ is closed to new replies.