Skip Navigation

[Resolved] Post Form Refresh

This support ticket is created 4 years, 4 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by Minesh 4 years, 3 months ago.

Assisted by: Minesh.

Author
Posts
#1791723

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.

#1791779

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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?

#1792283

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

#1792703

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.

#1792825

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.

#1793787

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

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.