Passing a value using Form Builder?

The place to talk about things that are related to CMS Made simple, but don't fit anywhere else.
Post Reply
anttram
Forum Members
Forum Members
Posts: 19
Joined: Thu Mar 08, 2012 6:19 pm

Passing a value using Form Builder?

Post 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
anttram
Forum Members
Forum Members
Posts: 19
Joined: Thu Mar 08, 2012 6:19 pm

Re: Passing a value using Form Builder?

Post 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->
applejack
Power Poster
Power Poster
Posts: 1014
Joined: Fri Mar 30, 2007 2:28 am

Re: Passing a value using Form Builder?

Post 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.
Post Reply

Return to “The Lounge”