-
- 17 Posts
Can anyone help with regards to an issue I'm having with the display of the email that FormIt sends whenever a form is submitted. I'm currently using the latest version of Modx Revo and most up to date version of FormIt.
The problem I have is whilst the rest of the email brings through the fields which have been submitted I seem to have an issue with the checkbox ones whereby if it is ticked it'll displayed the value ie "Y" in this case yet if not it'll display the placeholder name ie [[+service1]]. What I ideally wanted to do with this area was to not display information if a service option wasn't ticked and have tried to do this using output modifiers (which coincidentally also end up being displayed in the email as well). An example would be:-
[[+service1:is=`Y`:then=`Service: [[+service1]] (qty: [[+service1qty]]) (size: [[+service1size]])
`]]
which does work when I output it to the Thank You page. I just kind of expected it to work in the same way yet it clearly doesn't. I just wondered if anyone else has encounted this issue and whether they know the answer to resolve it.
-
- 44 Posts
Offhand, it sounds to me like your "is" output filter isn't working in the context of your email template. Do you have filters on any other fields in the same template, and are they working?
-
- 17 Posts
Thanks guys for getting in touch. I don't use any other filters within any other fields yet when I have I recall they haven't worked either. That sounds like a great solution about using a hook instead. I shall give that a go and let you know how I get on. Cheers again.