Barcellos
Ana Barcellos
Hi, guys! Please some good soul to help me with this?
When I submit a form I need to:
1) Development
Joomla 3.4.8
Fabrik 3.1.1
PHP 5.3
I used the redirect plugin in the form, redirecting to a php file and passing my javascript code by this file.
- append data to jump url = yes
I'm getting the url to redirect adding them in the values of the options of a dropdown element.
Then I am getting the variables on php file like this:
It works perfectly!
2) Production
Joomla 3.4.8
Fabrik 3.4.2
PHP 5.4
Here the first part of the code doesn't work. It just redirect in the same page but doesnt open the new tab.
Any clue why?
When I submit a form I need to:
- Redirect to one specific page AND
- Download one file depending on the option selected in one of the elements
1) Development
Joomla 3.4.8
Fabrik 3.1.1
PHP 5.3
I used the redirect plugin in the form, redirecting to a php file and passing my javascript code by this file.
- append data to jump url = yes
I'm getting the url to redirect adding them in the values of the options of a dropdown element.
Then I am getting the variables on php file like this:
PHP:
<?php
{
$url = $_GET["table_name___element_name"];
{ echo "<script>window.open('$url');</script>";
}
{ echo "<script>window.location = 'http://www.xxx.com';</script>";
}
}
?>
It works perfectly!
2) Production
Joomla 3.4.8
Fabrik 3.4.2
PHP 5.4
Here the first part of the code doesn't work. It just redirect in the same page but doesnt open the new tab.
Any clue why?