[SOLVED] Formbuilder pass value from one form page to another
Posted: Wed May 23, 2012 2:58 pm
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:
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:
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.
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}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} 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.