January 23, 2015
at 17:28 /
#13294
Hi,
I’m using easy reservations form via the WordPress Theme Viva Hotel (included with the theme). When I try to send the form, nothing happened. The page is refreshed to the top. Have you an idea to solve this issue please? Here is the website: http://www.la-maison-de-locronan.fr
Update: I’m still trying to solve this issue. I noticed that the “onclick” command is empty in the source code of the html page of the form. And I don’t no why. It seems the key of the issue. Any suggestions to solve it please?
Thanks for your help.
My Best,
Stephan
January 26, 2015
at 04:20 /
#13310
Seems like the form either don’t get submit at all or the values get emptied before reaching my script. Won’t be a bug of easyreservations. Try to deactivate all other plugins and switch to standard theme after another if any of that cause it.
Regards
January 26, 2015
at 10:24 /
#13321
Hi,
thanks for your answer. As you advised me, I’d deactivated all other plugins one by one, then switched to standard theme. I’ve even tried two other themes. Nothing new.
Is there something wrong I did generating the form? I have the same issue on my test local site. I’ve just checked again on the demo theme website – http://cohhe.com/viva/ – and it works.
In its source code, the onclick command is not empty: input type="submit" onclick="easyreservations_send_validate('send','easy-form-6815'); return false" value="Send" class="easy-button" style="" title=""
vs
the current source code of the submit button on my website input type="submit" onclick="" value="Envoyer - Send" class="easy-button" style="" title=""
So, would it be a misconfiguration in my form? Something I forgot to validate/to add generating the form with your plugin?
Many thanks for your help.
Stephan
Update: after switching in debug mode via wp-config, I sent the form again, and here is the error message I’ve got:
– Undefined variable: custom_form in …\wp-content\plugins\easyreservations\lib\functions\both.php on line 441
Hope it will help.
January 27, 2015
at 04:21 /
#13336
That variable is defined in the beginning of the function. Try to re-upload the plugin.
If that doesn’t help send me FTP access and a link to the form to support@easyreservations.org
Regards
January 27, 2015
at 11:07 /
#13337
Hi,
I followed your advices, step by step, testing it on my local dev site. Well done! It worked!
But it was not due to a misinstallation of your plug-in… By checking the new form, I noticed the tag [error] at the top of the form, which did not appear on my first form. Why? Probably because I’ve deleted it accidentally. So, everything works fine now by adding the tag. 😉
Many many thanks for your help and your concern.
My Best,
Stephan