FormBuilder - multiple forms on same page?

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
asayama
New Member
New Member
Posts: 6
Joined: Fri Dec 26, 2008 6:07 pm

FormBuilder - multiple forms on same page?

Post by asayama »

Hello,

I'm trying to implement 2 forms on one page:  one is used for login/password and another is used for contact us.  Building the forms and puttign them both in a template is not a problem. 

Where the problem occurs is when validation fails, like the password field was accidently not filled in on submit.  When that happens, the login/password form submits, but instead of submitting to the same page and having both FormBuilder forms with the submission errors at the top of the page, it submits to index.php and lists the submission errors at the top of the page along with the first form only.  The second form doesn't appear anymore and the page layout is broken because of it. 

Is there any way to have both these forms on the same page and handle error checking for each separately?  If not with FormBuilder, anyone have suggestions on how to accomplish this?  Hopefully not javascripting  :-[
superstoffe
Forum Members
Forum Members
Posts: 50
Joined: Fri Jan 16, 2009 1:07 pm

Re: FormBuilder - multiple forms on same page?

Post by superstoffe »

Sorta have the same problems. I have  FEU login form, and a contact/order form on the same page.

When logging in you get back to the same page, and the second form is prefilled with their account information (for faster orders).

Now, on some systems the two forms conflicts. That means that those who are not logged in cant send the main form. The action tries to login or something? If you log in howevever, the first form's gone and you can submit the the main form with no problem.

The problem must be that both forms have the same action; index.php.. I have no idea how to best fix it tho. I'm gonna try Jeremy's suggestion now.
Post Reply

Return to “Modules/Add-Ons”