TOPIC:

Change the URL of the submit button depending on the selection 1 week 9 hours ago #252767

  • Topic Author
  • Silk92
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 8
  • Thanks: 0
Hi,

Thank's a lot! :)

First I have tried the hole day to translate the form into german, but now it doesn't work anymore :(
Do you think it's possible to take a look at the backend? I don't now where the mistake is, I changed also the translations in the scripts of course!

Second I followed the linked documentation (it doesn't work for the moment) ... is this only possible for one select-list element? Is there a way to set the URL for the combination of all three select-list elements?

Thank you so much! Of course you can write an invoice if this is beyond the support here in this forum.

Regards,
Silas

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

Change the URL of the submit button depending on the selection 6 days 23 hours ago #252775

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

1) Do you use multilanguage form?
Also, I can access to your backend and do translations to german (my german is not good, but I can use translator :))

2) this is possible for three select list.
For these list do the same.
Example:
$value=ff_getSubmit('select1');
$value1=ff_getSubmit('select2');
$value2=ff_getSubmit('select3');
And add switch case with values of the 3 lists.
Replace select1 with name of your first select list (not title), select2 with name of your second select list (not title), and select3 with name of your third select list (not title).

3) np, anytime, I am here to help you :)

Regards,
Tihana

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

Last edit: Post by tihana.krivic.

Change the URL of the submit button depending on the selection 6 days 21 hours ago #252785

  • Topic Author
  • Silk92
  • Offline
  • Fresh Breezer
  • Fresh Breezer
  • Posts: 8
  • Thanks: 0
Hi,
Thank you!

1) Yes :)I wrote an email to you with the backend information :)

2) Okay! And how looks the switch case loop? I'm afraid I don't now this programming language :(

3) Thank you so much!!!

Regards,
Silas

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

Change the URL of the submit button depending on the selection 6 days 21 hours ago #252786

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

1) on which mail. Please send it to: tk@evolutio-it.com

2) test it like this:
$this->execPieceByName('ff_InitLib');
$value = ff_getSubmit('pick');
$value1=ff_getSubmit('nameofselectlist');
$value2=ff_getSubmit('nameofsecondlist');
switch( $value )
{
     case 'value1': header('Location: http://crosstec.org'); exit;break;
     case 'value2': header('Location:http://crosstec.org/forums.html'); exit; break;
     case 'value3': header('Location:http://crosstec.org/support/getstarted');exit; break;
}
switch( $value1 )
{
     case 'value4': header('Location: http://crosstec.org'); exit;break;
     case 'value5': header('Location:http://crosstec.org/forums.html'); exit; break;
     case 'value6': header('Location:http://crosstec.org/support/getstarted');exit; break;
}
switch( $value2 )
{
     case 'value7': header('Location: http://crosstec.org'); exit;break;
     case 'value8': header('Location:http://crosstec.org/forums.html'); exit; break;
     case 'value9': header('Location:http://crosstec.org/support/getstarted');exit; break;
}

Regards,
Tihana

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

Moderators: ForumSupport
Time to create page: 0.047 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!