Buy Now
Sign in

Two forms in same page

lf14web , May 10 2021, 13:05
L
lf14web 69
May 10 2021, 13:05 #396405
Hi,
at this page I've two forms in the same page
https://www.lexter.com/test
If I compile and click the first submit button the url action is of the second form and all I get validation error of second form:
https://www.lexter.com/test?chronoform=form-contatti-landing-page-it-02&event=submit2
If I compile the second form all go fine.
Could you to help me to resolve this issue?
Regards
Emanuele
GreyHead 65
May 11 2021, 09:36 #396413
Hi Emanuele,
The submit buttons on the two forms both use the same names and ids - I suspect that may be causing the problem as HTML requires the ids to be unique.
Bob
If you'd like to buy me a coffee or two, thank you very much
L
lf14web 69
May 11 2021, 15:43 #396421
Hi Bob,
I've update the names and ids value for each forms button but the issue reimain
<button class="ui button green" type="submit" name="inviarichiesta1" id="inviarichiesta1" value="inviarichiesta1" data-selections="0" data-message="Please make a selection from the list">Invia</button>
<button class="ui button green" type="submit" name="inviarichiesta2" id="inviarichiesta2" value="inviarichiesta2" data-selections="0" data-message="Please make a selection from the list">Invia</button>
Regards
Emanuele
L
lf14web 69
May 12 2021, 15:33 #396435
Hi,
anyone have some update?
Regards
Emanuele
L
lf14web 69
May 17 2021, 07:21 #396482
Hi,
there is a way resolve my issue?
Regards
Emanuele