submit fail if relative url = yes

di sciascio 15 Jul, 2015
I have the following message if I set the form with relative url = YES in HTML action settings:

Questo indirizzo email è protetto dagli spambots. È necessario abilitare JavaScript per vederlo." id="email" placeholder="" maxlength="" size="" class="validate['required','email'] form-control A" title="" style="" data-inputmask="" data-load-state="" data-tooltip="" type="text" />

Translation is
This email address is protected by spambots. It is necessary to enable JavaScript to see it...

Why do this happen?
di sciascio 15 Jul, 2015
Hi Bob,
I've disabled the plugin as suggested in the FAQ, but the form is not submitted.
There is no error in browser console and debugger does not show anything. After form submit, I see the same page.
The link is the following:
www.agricia.joomlafree.it/it/commenti
GreyHead 16 Jul, 2015
Hi di sciascio,

Has the solved the JavaScript problem?

Please now set Relative URL to NO and see if that solves the problem with your SEF URLs.

Bob
di sciascio 16 Jul, 2015
Hi Bob,
the Javascript problem is solved. If I set Relative URL to NO the form is submitted, but in a new page. I want that, after submit, I see the same page with a message like: message sent correctly!
Is it possible ?
GreyHead 16 Jul, 2015
Hi di sciascio,

The simplest solution may be to enable the AJAX submission option - that should work as long as there are no file uploads in the form. Otherwise you can capture the page url in the form then redirect back to it at the end of the form On Submit event and add a System Message.

Bob
di sciascio 16 Jul, 2015
It works enabling the AJAX submission option.
Thanks for your support!
This topic is locked and no more replies can be posted.