[SOLVED] Formbuilder pass value from one form page to another

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
drquietus
New Member
New Member
Posts: 2
Joined: Wed May 23, 2012 1:32 pm

[SOLVED] Formbuilder pass value from one form page to another

Post by drquietus »

I have a 3 step inline form, each step on it's own page.

Page 1: Select from 4 themes: This is a radio button group, in the "Smarty data or logic that is meant to be sent with this field" i have:

Code: Select all

{assign var='temp' value=$fld_41}
the user clicks the next button

Page 2: Show a gallery with theme options and select up to four: This is a Module interface field and my tag looks like:

Code: Select all

{if $temp == "fall-winter"}
  {Gallery dir="backgrounds/Fall-Winter" template="fancybox"}
 {/if}  
{if $temp == "spring"}
  {Gallery dir="backgrounds/spring" template="fancybox"}  
{/if}  
{if $temp == "summer"}
  {Gallery dir="backgrounds/summer" template="fancybox"}  
{/if}  
{if $temp == "elementary"}
  {Gallery dir="backgrounds/elementary" template="fancybox"}  
{/if}   
I have put code for a checkbox in the gallery fancybox template. (next problem)

Page 4: Enter contact info, select a date, submit this part is straight forward and easy.

I am not getting any value for $temp or $fld_41 on the second page of the form. What am I doing wrong? All mods and CMSMS version are the most current.
Post Reply

Return to “Modules/Add-Ons”