Another problem I've run into with this is that the custom value in my form is being ignored in favor of the label text:
<field allowsPrepopulate="1" id="18" size="medium" type="checkbox" enableChoiceValue="1">
<adminLabel><![CDATA[educators]]></adminLabel>
<cssClass><![CDATA[download]]></cssClass>
<inputName><![CDATA[isEducator]]></inputName>
<choices>
<choice>
<text><![CDATA[I'm an educator and I wish to download the educator curricula.]]></text>
<value><![CDATA[educator]]></value>
</choice>
</choices>
</field>
outputs
<li id='field_6_18' class='gfield download' ><label class='gfield_label'></label><div class='ginput_container'><ul class='gfield_checkbox' id='input_6_18'><li class='gchoice_18_1'><input name='input_18.1' type='checkbox' onclick='gf_apply_rules(6,["21","26"]);' value='educator' id='choice_18_1' tabindex='10' /><label for='choice_18_1'>I'm an educator and I wish to download the educator curricula.</label></li></ul></div></li>
Thus, [gravityforms action="conditional" merge_tag="{educators:18}" condition="is" value="educator"] does not meet the condition while [gravityforms action="conditional" merge_tag="{educators:18}" condition="is" value="I'm an educator and I wish to download the educator curricula."] does meet the condition.
Posted 12 years ago on Tuesday April 17, 2012 |
Permalink