Formbuilder templating [solved]
Posted: Sat Nov 15, 2014 1:21 pm
Hy,
For my form, i would like my FB template, to use a personalized textaera tag.
why? for a script i want to add "data-equalizer-watch" ad the end of the tag.
FB generates:
i replaced this with
Is this the best way? or is there an easier way?
Also, how can i retrieve the name="cntnt01fbrp__39" from $bericht->input?
because now, I'm guessing that it starts with "cntnt01" but i belief this will not always be the case.
For my form, i would like my FB template, to use a personalized textaera tag.
why? for a script i want to add "data-equalizer-watch" ad the end of the tag.
FB generates:
Code: Select all
<textarea name="cntnt01fbrp__39" cols="80" rows="5" class="cms_textarea" id="fbrp__39" placeholder=""></textarea>
Code: Select all
<textarea name="cntnt01{$bericht->input_id}" cols="80" rows="5" class="cms_textarea" id="{$bericht->input_id}" placeholder="{$bericht->name}{if $bericht->required} {$bericht->required_symbol}{/if}" data-equalizer-watch>{$bericht->input|strip_tags:false}</textarea>
Also, how can i retrieve the name="cntnt01fbrp__39" from $bericht->input?
because now, I'm guessing that it starts with "cntnt01" but i belief this will not always be the case.