• 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: Dropdown and radio button values not in emails

Dropdown and radio button values not in emails 11 years 5 months ago #25707

I'm sure I've gotten this to work before, but I've tried this time with zero success. My User and admin email syntax is the same so only one is reproduced here.

I have 2 fields, one a radio button - Yes | No - and the 2nd a dropdown (single selection only) which has 5 options. The dropdown is part of the PaYPal plugin and is to select a membership level and has a dollar amount as part of it.

My email syntax is:
<<p><b>{if {mother:value}}{mother:caption}:&nbsp;</b>{mother:value}{/if}</p>
<p><b>{if {father:value}}{father:caption}:&nbsp;</b>{father:value}{/if}</p>
<p><b>{address1:caption}:&nbsp;</b>{address1:value}</p>
<p><b>{state:caption}:&nbsp;</b>{state:value}</p>
<p><b>{email:caption}:&nbsp;</b>{email:value}</p>
<p><b>{phone:caption}:&nbsp;</b>{phone:value}</p>
<p><b>{directory:caption}:&nbsp;</b>{directory:value}</p>
<hr>
<p><b>{child1:caption}:&nbsp;</b>{child1:value},&nbsp;Grade&nbsp;{grade1:value}</p>
<p><b>{teacher1:caption}:&nbsp;</b>{teacher1:value}</p>
<p><b>{if {child2:value}}{child2:caption}:&nbsp;</b>{child2:value},&nbsp;Grade&nbsp;{grade2:value}{/if}</p>
<p><b>{if {teacher2:value}}{teacher2:caption}:&nbsp;</b>{teacher2:value}{/if}</p>
<p><b>{if {child3:value}}{child3:caption}:&nbsp;</b>{child3:value},&nbsp;Grade&nbsp;{grade3:value}{/if}</p>
<p><b>{if {teacher3:value}}{teacher3:caption}:&nbsp;</b>{teacher3:value}{/if}</p>
<p><b>{if {child4:value}}{child4:caption}:&nbsp;</b>{child4:value},&nbsp;Grade&nbsp;{grade4:value}{/if}</p>
<p><b>{if {teacher4:value}}{teacher4:caption}:&nbsp;</b>{teacher4:value}{/if}</p>
<p><b>{if {child5:value}}{child5:caption}:&nbsp;</b>{child5:value},&nbsp;Grade&nbsp;{grade5:value}{/if}</p>
<p><b>{if {teacher5:value}}{teacher5:caption}:&nbsp;</b>{teacher5:value}{/if}</p>
<hr>
<p><b>{packages:caption}:&nbsp;</b>{packages:value}</p>

The 2 fields are directory and packages. Neither display in the email, though the ":" does. So I know it has something to do with the fields being radio and dropdown, but haven't a clue what!
Last Edit: 11 years 5 months ago by trogladyte.
The administrator has disabled public write access.

Dropdown and radio button values not in emails 11 years 4 months ago #25978

I've run into this as well. When you go into your radio options, you need to set it as radioitem|radioitem and use this for each of the options for your radio buttons. If you don't use the | it won't show in your email.
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!