Hi,
the new functions "FormItIsChecked" and "FormItIsSelected", introduced in FormIt 1.4.0, are somehow not working. In fact, every filter/snippet applied to [[+fi.varname]] is not working.
I have tried it on several installations (Revo 2.0.4-pl2 with FormIt 1.4.1-pl) and severels hosters, with the same result: Everytime I use something like [[+fi.varname:filter]] the output is empty, e.g. only something like [[+fi.varname:empty=`test`]] produces an output ("test"). If I just use [[+fi.varname]] I get an output (the string of the according input-field).
Anobody any ideas how to make it work?
best
Oliver
-
- 249 Posts
Use an uncached placeholder syntax when using the [tt]FormItIsChecked [/tt]and [tt]FormItIsSelected [/tt]functions (note the exclamation mark)
[tt][[!+fi.fieldname:FormItIsSelected=`optionvalue`]][/tt]
lo9on.com
MODx Evolution/Revolution | Remote Desktop Training | Development
-
- 5 Posts
I am using Formit 2.2.0 with Formsave 1.1.0. I tried those same tag placeholders in Static html file that my modx chunk references that holds the formit calls "
[[!+fi.fieldname:FormItIsSelected=`optionvalue`]
and then
[tt][[!+fi.fieldname:FormItIsSelected=`optionvalue`]][/tt]
But it does not save. Also in the text editor package I use Ace, these 2 lines give error on the side (see attached)
Any reason why this is happening?