Beta v3.0: multiple input type="submit" elements

level420 05 Aug, 2008
Hello Everybody,

I'm in need to have two submit buttons <input type="submit" in the form html code.

When I put a second type="submit" button in then "Form HTML" code area and try to save the form an (I think) mootools error is displayed in the browser console:

this.parentNode is null
http://www.ak-demo.dgai.de/media/system/js/mootools.js
Line 29

Are multiple submit buttons not supported?

Thank you for your help.
GreyHead 05 Aug, 2008
Hi level420,

Multiple submit buttons were OK in previous versions of ChronoForms, can't speak for Beta 3 though.

Bob
level420 05 Aug, 2008

Hi level420,

Multiple submit buttons were OK in previous versions of ChronoForms, can't speak for Beta 3 though.

Bob



It seems like some pre-save analysis of the HTML form code with mootools stumbles on multipe submit button instances.

Should this thread go to the bug section of the forum?
Max_admin 05 Aug, 2008
Hi level,

I will look into this today, yes there is some pre save code check, I answered the other post, you can use the built in server side validation area and only use some PHP switching!

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
level420 06 Aug, 2008

I answered the other post, you can use the built in server side validation area and only use some PHP switching!



Sorry but I can't find an answer related to the "server side validation PHP switching".

Please post a code snippet if possible.

Thank you for your help.
Max_admin 06 Aug, 2008
Hi, look at the validation tab in your form, there is the server side validation and a snippet!🙂

Cheers

Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.