Form Help

TOPIC:

How to add on the admin email subject the record id value? 2 years 3 days ago #230652

  • Topic Author
  • pmoustris
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 3
  • Thanks: 0
How can the "email subject" of each admin mails, can take the record id of each entry?
Attachments:

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

How to add on the admin email subject the record id value? 2 years 1 day ago #230668

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Hello,

To achieve what you want please follow these steps:

1) Create a "Hidden input" filed in your form and in the Properties of that element in the Value field put the following code:
<?php $db = JFactory::getDBO(); $db-> setQuery("Select count(id) From #__facileforms_records Where form = 38"); return $db->loadResult()+1;?>
NOTE: In the code replace 38 with the ID of your form

This way you will fill the hidden field with the record id.

2) Navigate to form's Advanced options > More options > Admin emails and in the Custom email subject field write {hiddeninoutname}.
You have to replace hiddeninputname with the Name of the newly created Hidden input field. Just put it in curly brackets.

Let me know whether you've managed to set this for your form and whether it works as you wanted.

Regards,

Mihaela

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

How to add on the admin email subject the record id value? 2 years 1 day ago #230679

  • Topic Author
  • pmoustris
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 3
  • Thanks: 0
Yes it's ok!

Thank you very much.

Panos

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

How to add on the admin email subject the record id value? 2 years 1 day ago #230682

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 415
Great!

I'm glad that it works for you.

Regards,

Mihaela

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

How to add on the admin email subject the record id value? 2 weeks 3 days ago #247956

  • mim.museo
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 3
  • Thanks: 0
Hello Mihaela, This answer works fine to get the ID number.

But when I tried to reveal the data of that field in the thankyou page. It dosent work.

How could I fill The thankyou page with this?

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

How to add on the admin email subject the record id value? 2 weeks 3 days ago #247960

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

unfortunately Mihaela no longer works in support. So I will try to help you.
If I understood you correctly you want to have RECORD ID on thank you page??

Regards,
Tihana

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

  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.045 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!