- This topic has 6 replies, 2 voices, and was last updated 9 years, 7 months ago by .
Viewing 7 posts - 1 through 7 (of 7 total)
Viewing 7 posts - 1 through 7 (of 7 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Display text or send email based on user input?
Depending on what option a user selects from a custom form field, is it possible to display a specific message using “booking recorded html format” and/or send a specific email using “respondent email format” sections of the event? And if so, how would I go about setting that up?
Try using conditional tags in either format setting. See the doc about conditional tags for examples, but it should work if you limit yourself to the correct placeholders (see the rsvp placeholders for those)
Thank you for your response. Excellent plugin, btw.
Below is the code I am using in the “booking recorded html format” settings of the event, but no message is displayed regardless of the selection. Can you please provide any insight as to what might be wrong?
[eme_if tag='#ESC_FIELDVALUE{7}' value='SRNA']
Message for SRNA goes here.<br />
[/eme_if]
[eme_if2 tag='#ESC_FIELDVALUE{7}' value='CRNA']
Message for CRNA goes here.<br />
[/eme_if2]
[eme_if3 tag='#ESC_FIELDVALUE{7}' value='MD']
Message for MD goes here.<br />
[/eme_if3]
The reason is that FIELDVALUE contains an error in the code.
This change should fix it:
http://plugins.trac.wordpress.org/changeset/1129955
Changes tested and working perfectly. Thank you for turning this around so quickly. I really appreciate your help. You’re awesome!
Will this fix be rolled into a future version of the plugin?
Of course!