TOPIC:

Select-List wieder ausblenden 1 week 5 days ago #250679

  • Henne222
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 4
  • Thanks: 0
It now works as it should:
function ff_Abteilungen_action(element, action)
{
    switch (action) {
        case 'change':
if( ff_getElementByName('Abteilungen').value== "Aurich" ){
               bfToggleFields('on','element','StrasseAurich',bfDeactivateField);
          }

else {  bfToggleFields('off','element','StrasseAurich',bfDeactivateField);
 }
            break;
        default:;
    } // switch

    switch (action) {
        case 'change':
if( ff_getElementByName('Abteilungen').value== "BadSchwartau" ){
               bfToggleFields('on','element','StrasseBadSchwartau',bfDeactivateField);
          }

else {  bfToggleFields('off','element','StrasseBadSchwartau',bfDeactivateField);
 }
            break;
        default:;
    } // switch

switch (action) {
        case 'change':
if( ff_getElementByName('Abteilungen').value== "Barmstedt" ){
               bfToggleFields('on','element','StrasseBarmstedt',bfDeactivateField);
          }

else {  bfToggleFields('off','element','StrasseBarmstedt',bfDeactivateField);
 }
            break;
        default:;
 } // switch

switch (action) {
        case 'change':
if( ff_getElementByName('Abteilungen').value== "Bassum" ){
               bfToggleFields('on','element','StrasseBassum',bfDeactivateField);
          }

else {  bfToggleFields('off','element','StrasseBassum',bfDeactivateField);
 }
            break;
        default:;
 } // switch

} // ff_s_action

but now I have another problem, is it possible to give a name to the displayed list?

I use the list for email recipients so I set this: {SelectList} in the form settings but the names of the lists are different now. There is only one List shown at a time, if i could give it a different name then it would be accessible in the form settings, no matter which one is currently displayed.

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

Select-List wieder ausblenden 1 week 5 days ago #250680

  • tihana.krivic's Avatar
  • tihana.krivic
  • Online
  • Moderator
  • Moderator
  • Posts: 2193
  • Karma: 3
  • Thanks: 198
Hi,

I'm not sure I understood you. I'm still "asleep" :D
You want to show name of select list or name of values of select list?
Also,
{SelectList}->SelectList should be name of select list (not title)
For multile:
{list1};{list2} //and so on

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Select-List wieder ausblenden 1 week 5 days ago #250682

  • Henne222
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 4
  • Thanks: 0
sorry I expressed myself badly, the displayed list is a list with multiple email recipients, but I just realized that I can create the lists in the advanced form options:
{emaillist1};{emaillist2};{emaillist3}

depending on which list is displayed, which is then used for sending, works great!

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

Select-List wieder ausblenden 1 week 5 days ago #250683

  • tihana.krivic's Avatar
  • tihana.krivic
  • Online
  • Moderator
  • Moderator
  • Posts: 2193
  • Karma: 3
  • Thanks: 198
Hi,

super!
I just edited my previous message at the same time as the your reply was posted LOL

I'm glad everything works ok :)

If you need more help, let me know

Regards,
Tihana

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

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