• 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: Show only filled fields in email

Show only filled fields in email 1 year 9 months ago #42088

  • info9374
  • info9374's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 2
i use my own template for emails to the user. Here I load the individual fields for example:

{email:caption}: {email:value}

But I want that the field email is only displayed in the mail if the user has entered an email address. If nothing is filled in, should the whole element (caption and value) not be displayed in the email? How to do this?
The administrator has disabled public write access.

Show only filled fields in email 1 year 9 months ago #42091

  • iceferret
  • iceferret's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 200
  • Thank you received: 48
You need the {if....} {/if} tags
try this:
{if {email:value}}{email:caption}: {email:value}{/if}

There are a couple of useful links in this post
If you can keep your head when all about you are losing theirs, then you obviously don't understand the situation!
Last Edit: 1 year 9 months ago by iceferret.
The administrator has disabled public write access.

Show only filled fields in email 1 year 8 months ago #42102

  • dragos
  • dragos's Avatar
  • NOW ONLINE
  • Administrator
  • Posts: 557
  • Thank you received: 102
Hello,

You can also take a look at this article which explains how to dynamically adjust your email messages using the {if} syntax.
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!