TOPIC:

Link form to a web url 1 week 5 days ago #263430

  • Topic Author
  • DAVIDPL
  • Offline
  • Senior Breezer
  • Senior Breezer
  • Posts: 112
  • Thanks: 0
Hello there

I want to link the redirect to a web after the form has been submitted, according to the data in two fields

A / title .. campo: 1_Tprofesor
B / sport campo: 1_Deporte

I have the code making the link with the field A / TITLE

I want to link it to the two options.

code:

$this->execPieceByName('ff_InitLib');
$value = ff_getSubmit('1_Tprofesor');
switch( $value )
{
case '1': header('Location:https://www.judomurcia.es/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=106'); exit; break;
case '2': header('Location:https://www.judomurcia.es/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=105'); exit; break;
case '3': header('Location:https://www.judomurcia.es/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=107'); exit; break;
case '4': header('Location:https://www.judomurcia.es/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=108'); exit; break;
case '5': header('Location:https://www.judomurcia.es/index.php?option=com_virtuemart&view=productdetails&virtuemart_product_id=109'); exit; break;
}

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

Link form to a web url 1 week 5 days ago #263432

  • Mirec's Avatar
  • Mirec
  • Offline
  • Ultimate Breezer
  • Ultimate Breezer
  • Posts: 957
  • Karma: 2
  • Thanks: 50
Hi,

could you please see this link where is described how to do it with element select List.

Hope this helps.
If you need more help, let me know!

Regards,
Mirko

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

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