TOPIC:

User ID to email betreff 3 weeks 6 days ago #273141

  • Topic Author
  • Mikuteit
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Hello, is there a way to send the ID of the customer in an email as a subject?

So User ID: 388
the 388 should then automatically be entered as the subject when you click on the email address.
But I can't find anything there that I need to enter.

The user ID is dynamic.

cu and thank you

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

User ID to email betreff 3 weeks 6 days ago #273142

  • Mirec's Avatar
  • Mirec
  • Away
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 2486
  • Karma: 2
  • Thanks: 135
Hi,

I need to check it and I will back to you.

if you have more questions, feel free to ask!

Regards,
Mirko

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

User ID to email betreff 3 weeks 6 days ago #273143

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

1) add hidden input element to your form.
Go to this element->Properties->Value and put:
<?php $user = JFactory::getUser(); return "$user->id"; ?>
2) go to form->Advanced->More options->Admin emails/mailback emails->Custom email subject->and put:
{nameofhiddenelement}
please replace nameofhiddenelement with name of that hidden element in which is stored user id (not title)

P.S: for this user must be logged in, because in database each logged in user has its own user id

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

User ID to email betreff 3 weeks 5 days ago #273196

  • Topic Author
  • Mikuteit
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
Thanks!

Is it also possible to do this with the sequential ID?

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

User ID to email betreff 3 weeks 5 days ago #273197

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

which ID? Record id?
You can create a unique id for each user and then show this in mail, again using hidden input element
Again, I can help with this

Sorry if I missed something, I need to drink my morning coffe :D

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

User ID to email betreff 3 weeks 5 days ago #273206

  • Topic Author
  • Mikuteit
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 5
  • Thanks: 0
No, you haven't forgotten.
Each time a user submits the form, that completed form is given a sequential ID.
so e.g. 300, the next 301....

That number would be important.

Thank you for your effort

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

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