Yes I can get the values, but when I put the keyword replacements in the conditional it breaks.
I have tried:
The response is: %response_123783_q1%
Is the response test? %response_123783_q1^eq:test:yes %response_123783_q1%:no %response_123783_q1%%
Is the response test? %response_123783_q1^eq:test:yes %globals_response_123783_q1%:no %globals_response_123783_q1%%
Is the response test? %response_123783_q1^eq:test:yes {%globals_response_123783_q1%}:no {%globals_response_123783_q1%}%
Is the response test? %response_123783_q1^eq:test:yes%globals_post_q123783:q1%:no%
Is the response test? %response_123783_q1^eq:test:yes{%globals_post_q123783:q1%}:no%
%globals_post%
%globals_post_q123783:q1%
This is the email:
The response is: test
Is the response test? %response_123783_q1^eq:test:yes test:no test%
Is the response test? yes globals_response_123783_q1%:no %
Is the response test? yes {globals_response_123783_q1%}:no {}%
Is the response test? yesglobals_post_q123783:q1%:no%
Is the response test? yes{globals_post_q123783:q1%}:no%
We applied a paint layout to the submission email body: %form_submission_id^as_asset:asset_contents_paint_layout_id_123456%
And then in the paint layout we can use the conditional:
%begin_question_answer_123321_q1^eq:test%
Question is equal to test. Here is the field
%question_answer_123321_q1%
%else_question_answer_123321_q1^neq:test%
It is not test
%end_question_answer_123321_q1%
I had a similar discovery a few months ago, with the PL not showing for Public Users.
I instead switched to using globals_contents_raw:123
Where asset #123 is a Standard Page, and then in that standard page I used Conditional Statements to determine what to print.
The Conditional Statements were using globals_post^index keywords - as per the link Hugh gave.
Now I am just trying to work on customising the Subject Line based on what they input⦠This has been a thorn. Many Keyword Modifiers didnāt seem to work in the Subject Line. Our form is a bit complex because it has 5 fields it needs to read to check if the email is a complaint (from any of the 5 user types). Iām sure a JS code could help me here, in sending a new field POST data that says it IS a complaint or notā¦