TOPIC:

Mailback Emails : display Title from Select from List 5 months 1 week ago #275203

  • Topic Author
  • caissier@scmf.ch
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 14
  • Thanks: 0
Hi,
In the Mailback Emails , I have a custom Emails.
I have the possibility to display label or value from an element. Now I want to display the title from a "Select From list" and not the value.

Ex. I have a list with
0;Title 1;value1
0;Title 2;value2
0;Title 3;value3

With {fonction:value} I display the value, but I want to have something like {fonction:titel}

Any ideas ?

Thanks
Yves

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

Mailback Emails : display Title from Select from List 5 months 1 week ago #275204

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

-in breezingforms add hidden input element and then when someone select some value in select list, selected text (instead of value) is shown in hidden input element.

For this go to select list->Advanced->Actionscript->check Custom->check Change->and put this:
function ff_nameofselectlist_action(element, action)
{
var a = JQuery("[name=\"ff_nm_nameofselectlist[]\"] option:selected").text();
ff_getElementByName('nameofhiddenelement').value = a;
}

Then go to emails settings and add:
{nameofhiddenelement:value}
Please change nameofselectlist with name of your select list (not title), and nameofhiddenelement with name of hidden element (not title).

Regards,
Tihana

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

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