Page 1 of 1

Passing a value using Form Builder?

Posted: Thu Mar 08, 2012 6:27 pm
by anttram
I want to pass the value from a text box of a form into a field of a further form on another page.

How can I do this using FormBuilder.

Thanks in advance
Anthony

Re: Passing a value using Form Builder?

Posted: Fri Mar 09, 2012 9:28 am
by anttram
To be more specific, I need from 'Enter Reg' on the home page to be the default value of a text field on QuotePage.Html. ie......

Home.html

HomeForm

Enter Reg: ------------

SEND->

QuotePage.Html

QuoteForm.

Enter Name:----------------
Enter Email: ----------------
Reg Number: (Value of Reg from HomeForm )

SEND->

Re: Passing a value using Form Builder?

Posted: Tue Mar 13, 2012 1:25 am
by applejack
If you hand code the first form and set the action to QuotePage.Html

If the method is post on QuotePage.Html page content {FormBuilder form='contactform' value_fld166=$smarty.post.reg_fieldname}

fld166 use the number of the field in formbuilder.

If method is get use
value_fld166=$smarty.get.reg_fieldname

Alternatively you could set the thank you page of the home page form if that uses formbuilder to QuotePage.Html and then pretty much do the same.