TOPIC:

Hide Label and Field 1 month 2 weeks ago #248004

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 1707
  • Karma: 3
  • Thanks: 154
Hi,

are you sure that you set correct name? Because I test it and it works for me.
Did you receive an email without this field?
Example I want to hide field Number1 -> name 'number1' from my email and here is my code:
<?php foreach ($MAILDATA as $DATA): ?>
<?php if ($DATA[_FF_DATA_NAME] != 'number1'): ?>
<?php echo $DATA[_FF_DATA_TITLE]?>: <?php echo $DATA[_FF_DATA_VALUE]?><?php echo $NL ?>
<?php endif; ?>
<?php endforeach; ?>
Then, I received an email without this field

Regards,
Tihana

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

Hide Label and Field 1 month 2 weeks ago #248005

  • Topic Author
  • paolo.procacciante
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 118
  • Thanks: 0
yes, this is exactly what I did, of course using my element name, but I receive the email containing also that element

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

Hide Label and Field 1 month 2 weeks ago #248006

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 1707
  • Karma: 3
  • Thanks: 154
Hi,

is your Admin Emails set to Default -- (your form->Advanced->Admin Emails->Edit Emails->Default)?

Regards,
Tihana

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

Hide Label and Field 1 month 2 weeks ago #248007

  • gwsdesk's Avatar
  • gwsdesk
  • Offline
  • Moderator
  • Moderator
  • Already being the preferred Service Provider
  • Posts: 191
  • Karma: 73
  • Thanks: 21
Please note that since this is done directly in the core code of BF and not in an override (!) you will hve to document the changes you make very well since they will be gone with the first upgrade of Breezingforms!

I strongly suggest always to use overrides as documented on the Joomla documentation site to avoid such problems docs.joomla.org/index.php?search=overrides

Leo B)
Breezingforms Professional Support Services :: gws-desk.com/extensions-support/breezingforms-support
Joomla Specialized Hosting :: gws-host.com
Joomla Specialized Webmaster Services : Hire Your Webmaster! :: gws-webmaster.services
Member of the Joomla Bug Squad & Joomla CMS - Release Team

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

Hide Label and Field 1 month 2 weeks ago #248008

  • Topic Author
  • paolo.procacciante
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 118
  • Thanks: 0
Yes, it is but I'm also using 'submit pieces' area so I did it as below:
if ($data[_FF_DATA_NAME] != 'prendoIdBTpadre') {
            $body .= '<td><strong>' . $data[_FF_DATA_TITLE] . '</strong></td><td>' . $data[_FF_DATA_VALUE] . '</td>';
        }

Thank you
PP

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

Hide Label and Field 1 month 2 weeks ago #248010

  • tihana.krivic's Avatar
  • tihana.krivic
  • Offline
  • Moderator
  • Moderator
  • Posts: 1707
  • Karma: 3
  • Thanks: 154
ah, I understand, you are using custom php for send email
Is it working now?

Regards,
Tihana

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

Last edit: Post by tihana.krivic.
Moderators: ForumSupport
Time to create page: 0.054 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!