admin email from select list?

  • Berenger
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0

Berenger created the topic: admin email from select list?

Hi

Is it possible in Breezing Forms to send an admin e-mail (not mailback!) to a recipient depending on a value in a select field?
The select field has 10 values. Depending on the selection the user makes, the form should be send to a different admin e-mail address.
I'm not a programmer so if there is a solution, please keep it simple (if possible).
Kind regards

Pierre
#201559
  • MarioPuco
  • MarioPuco's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 5741
  • Karma: 118
  • Thank you received: 530

MarioPuco replied the topic: admin email from select list?

Hi,


Please take a look at this article : crosstec.org/en/support/online-documenta...ifferent-emails.html

Let me know if this is what you wanted.

Regards;
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#201581
  • Berenger
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0

Berenger replied the topic: admin email from select list?

Hi Mario

Thanks for your reply.

This isn't what I'm looking for.

My form has a selection field for department. Depending on the value of that field, another administrator has to receive an e-mail with the values of the form for further action.

Is this possible and if so, how do I fix that?

Regards

Pierre
#201614
  • MarioPuco
  • MarioPuco's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 5741
  • Karma: 118
  • Thank you received: 530

MarioPuco replied the topic: admin email from select list?

Hi,


What is this "selection field" ?
Select list, checkbox group, radio group ?

Example I sent you does what you are asking. If you select "Finance" from select-list the email will be send to finance@email.com, if you choose something else, then the email will be sent to that department.

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#201615
  • Berenger
  • Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 14
  • Thank you received: 0

Berenger replied the topic: admin email from select list?

Hi

The selection field is a select list. I've tried your first solution again (did it yesterday already) and it works now. Probably I made a mistake.
E-mail is ok, but is it possible to show the name of the department in the mail instead of the e-mailaddress? I need that as a check.

Regards

Pierre
#201619
  • MarioPuco
  • MarioPuco's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 5741
  • Karma: 118
  • Thank you received: 530

MarioPuco replied the topic: admin email from select list?

Hi,

There is a workaround for this :

1) Create a new textfield element and give it name "department".
2) Go to this field advance options > and enable "turn off" so this element is hidden.
3) In your department select list > Advance options > ActionScript > Custom >
Actions > 'change' > and press "Create code framework" > and add this code in between :

var a = JQuery("[name=\"ff_nm_SELECTLISTNAME[]\"] option:selected").text();
ff_getElementByName('department').value = a;

NOTE : change 'SELECTLISTNAME' with your select list name.

Check my attachment for some clarification.

Regards,
Mario

Satisfied with our Support ?
PayPal Tip
===============================================
Need to renew Pro Support?
Buy Here!
===============================================
Satisfied?
Consider a membership!
===============================================
Like us on Facebook
===============================================
#201624
Attachments:
Moderators: ForumSupporttomeperica
Time to create page: 0.069 seconds

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Summer Sale!

50% discount on all of our extension subscription plans & templates!

Get Your Subscription Here

News and Updates

Get informed about new downloads, updates and more in our News and Updates newsletter.

All Extensions Subscription

Get 1 year access to all of our current and future products and 1 year of professional support -- 99 for just 49! (Summer Sale)

No support per domain or website installation limits! Includes all of our current and future Joomla!® extensions, Joomla!® templates for the duration of your membership. This means, by purchasing an All Extensions Subscription you'll have it all covered!

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!

Live Support Chat Opened!

Join our Discord chat here to receive live support and talk directly to the team!

Community Reward

Help us to create new extensions and plugins! With only $5 you help us a lot and get unlimited download access to all of our products, professional support and even more. Get your reward now!

Read More Here