Matrix Version:
I have a form where there are some optional fieldsets that are conditionally hidden/shown in the form based on responses to preceding questions. If the user doesn’t fill in the fieldset I’d like to hide those questions in the email response to both the recipient and the receipt.
Custom form HTML emails still don’t support conditional keywords (e.g. %begin_response_XXXX_qYY%[question code]%end_response_XXXX_qYY%
). So, previously I’ve used one of the following methods to hide content in form response emails, which has worked fine for years.
%%response_XXXXX_qY^notempty: %question_name_XXXXX_qY% %response_XXXXX_qY% %response_XXXXX_qZ^notempty:(Not empty text)^empty:(empty text)%
or
%response_XXXXX_qY^notempty:^empty:%
It seems that since the upgrade to 5.4.3.1, Viper has gotten more fancy/officious with its rewriting of the HTML and now it breaks my email code.
The above code becomes the below code after you “Apply changes”
(Note the missing “%
” from the end of the first line and the missing keyword (%response_XXXX_qYY^notempty:
) from the start of the third line.
%question_name_XXXXX_qY% %response_XXXXX_qY^empty:N/A% %response_XXXXX_qZ^notempty(Not empty text)^empty:(empty text)%
and
Does anyone know any way around this? Is it possible to switch off the WYSIWYG for Custom form HTML emails?