TOPIC:

hiding elements from email 9 years 5 months ago #72606

  • Topic Author
  • sonoerin
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 12
  • Thanks: 0
Hello,
I am using BreezingForms 1.75 with Joomla 1.7.3. I have a two page form, the second being a thank you. The first page has six identical sections (except for element name) for family members doing an online registration. It looks kinda like:

...

{memberFirstName1:label} {memberFirstName1:value}
{memberLastName1:label} {memberLastName1:value}
{memberRelationship1:label} {memberRelationship1:value}
{memberGender1:label} {memberGender1:value}
{memberReligion1:label} {memberReligion1:value}
...
memberFirstName2:label} {memberFirstName2:value}
{memberLastName2:label} {memberLastName2:value}
{memberRelationship2:label} {memberRelationship2:value}
{memberGender2:label} {memberGender2:value}
{memberReligion2:label} {memberReligion2:value}
{memberBaptized2:label} {memberBaptized2:value}

The problem I have is that the radio groups are always selected, so if there isn't a member five or six, all the radio groups show as checked. Is there a way to check if the memberFirstName2 is null and then not email the label & value of the radio groups in that particular section?

Thank you, I hope that made sense.

Please Log in or Create an account to join the conversation.

Aw: hiding elements from email 9 years 5 months ago #72631

  • Syno
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 2186
  • Karma: 3
  • Thanks: 209
Hello,

checking for an empty value is not possible in the standard email templates.

But you said that the radios are initially checked. So the definition of the values include a value like:

1;test;test //this is checked on form load

what if you change to:

0;test;test

so that all values are unset on form load.


Regards.
Syno

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.079 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

September Discount!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!