ThemeFuse / Unyson

A WordPress framework that facilitates the development of WP themes
http://unyson.io
922 stars 217 forks source link

How to switch of page refresh after form submit? #717

Closed qiip closed 9 years ago

qiip commented 9 years ago

I am using Contact Form 7 instead instead standart unyson form. Contact Form 7 use ajax and there is no need to reload page, but some of unyson scripts triger the refresh of the page and when user clicks on "Submit" button page is reloading. Maybe some one know, where can I switch of this thing?

ghost commented 9 years ago

This script is used to make Unyson forms ajax submittable. It doesn't make page refresh, it replaces the form html with a success message. But I don't which theme are you using, perhaps it has a custom script (or the above script with modified parameters) and it makes page refresh.

Which theme are you using, or you are building your own theme? How can I reproduce this problem?

qiip commented 9 years ago

Hello moldcraft,

Thank you for your help. The problem reproduce only when I use Contact Form 7 in unysone page builder block. I'm using this theme - http://themeforest.net/item/-webapp-app-saas-wordpress-theme/11139630 You can reproduce this problem on the website http://www.test.taxionfly.com/, click on button Contact Form 7 on the mane page.

ghost commented 9 years ago

It seems that this is fixed

There was no refresh after the form was submitted.

qiip commented 9 years ago

No, all problem fixed, I have used a modal window, not a popover.