Hi
I am using FormBuilder to create a 2 page form with a Module Interface Field on the second page but i'd like to use one of the form values from page 1 as an input parameter to the tag of the Module Interface Field.
Can anyone give any help/example?
Cheers
Gordon
Form Builder use value from previous page
-
gordonallan
- New Member

- Posts: 5
- Joined: Fri May 15, 2015 6:35 pm
Re: Form Builder use value from previous page
Are you talking about a form with a second page/continue button or 2 forms on 2 pages or..?
You may need to give a much more detailed set of steps you want and what it's for and what you expect to be the final outcome...
more info = more help
You may need to give a much more detailed set of steps you want and what it's for and what you expect to be the final outcome...
more info = more help
-
gordonallan
- New Member

- Posts: 5
- Joined: Fri May 15, 2015 6:35 pm
Re: Form Builder use value from previous page
I am trying to build a form with 2 pages, in the first it will Have a field that allows you to specify a folder name. This will be a simple text entry field.
On page 2 I want to create a Module Interface Field that uses the name value from page 1 add the value for one of the input variables of the tag I am using in the module interface field such that I can control the folder name that field uses based on the folder name input on the first page of the form.
Cheers
Gordon
On page 2 I want to create a Module Interface Field that uses the name value from page 1 add the value for one of the input variables of the tag I am using in the module interface field such that I can control the folder name that field uses based on the folder name input on the first page of the form.
Cheers
Gordon
Re: Form Builder use value from previous page
I think you can use $fieldname->value in the second page, where $fieldname obviously should be changed to the name of your field
Re: Form Builder use value from previous page
Generally it can be helpful to use the {get_template_vars} tag. Put it somewhere in the Formbuilder template to see what variables are available at that moment.




