• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: include variable in mail if it is not equal to ...

include variable in mail if it is not equal to ... 2 months 4 weeks ago #43823

  • netnog
  • netnog's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Hi,
Can I only include the value of a pulldown selection in an email if it does not meet "selection x"?
If "Selection x" is selected, it will not be included in the email to be sent.
I hope that a solution can be found for this.

Thanks, Henk
Last Edit: 2 months 4 weeks ago by netnog.
The administrator has disabled public write access.

include variable in mail if it is not equal to ... 2 months 3 weeks ago #43826

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 245
  • Thank you received: 64
Use the {if {...}....{/if} tags like this which says that if the dropdown yourField value is not selectionX yourField value will be shown and if the value is selectionX it will be hidden,

{if {yourField:value}!=selectionX} {yourField:value}{/if}

You can include a little text and html tags for formatting as well like this

{if {yourField:value}!=selectionX} <p><b>You selected this option:</b> {yourField:value}</p>{/if}

Does this help?
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
The administrator has disabled public write access.

include variable in mail if it is not equal to ... 2 months 3 weeks ago #43828

  • netnog
  • netnog's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 7
Thanks for your detailed answer. I tried it and it works perfectly!
Thank you!
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!