I've created a post form and this is being envoked via a button. When the post form is completed, there is a success message displayed.
When a user jumps out of the post form and re-enters via the same button, they continue to see the same display message without the post form in the first instances.
Refer to this video; hidden link
The only way to get around this is by reloading the page after the first form post.
When modifying the button "Submit this form without reloading the page (use AJAX)", this doesn't work me as the page reloads but when you press the button, it goes back to the success message only.
Hello. Thank you for contacting the Toolset support.
I review the video you shared and I can see you added the Toolset form to popup and you are using the AJAX submit to submit your form.
I suggest rather using ajax submit, you should use the normal submit button and redirect the user to a another page where you should add your submit success message - will that help?
Hi, unfortunately the customer experience when doing that won't meet our requirements.
Ideally, the post form would refresh after the customer closes the popup modal. Could you potentially suggest some JS script for this if this isn't supported out of the box?
Cheers
I will require problem URL and access details to check if there is any possible workaround available or not.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I have set the next reply to private which means only you and I have access to it.
When I try to login to admin - it says "INSECURE PASSWORD".
Your login attempt has been blocked because the password you are using exists on lists of passwords leaked in data breaches. Attackers use such lists to break into sites and install malicious code
Can you please create a secure password and send me access details again.
I have set the next reply to private which means only you and I have access to it.
I checked and review but there is no way to change even using JavaScript.
You have added the form to modal box and form is set to display the message once you submit the form and the form is also set to use submit with AJAX. so, with you submit the form the message gets displayed in the popup.
There is no Javascript API available using which you can reinitialize the form. You may require to add the link to your submit message so when user click the page get refresh that is the only possible solution I can think of which you can use as workaround.