123 Posts
EclipseMedia
8 years ago
7
Topic

I need to be able to tell the form to redirect to a specific URL from the Submit Button field "Redirection" It cannot be from the form Configuration because I have conditional Submit buttons depending on a drop down selection. So far all I can do is select a menu item. I tried creating a menu item that is an External URL but I get a 404 error.

Get a Book for SEBLOD
123 Posts
EclipseMedia
8 years ago
0
Level 1

anyone?

8 years ago
0
Level 1

If Save&Redirect task is selected you should select a menu item, but i remember i had also an issue with that

2 others ways

- ( not tested) change the $config[url]variable with PHP in core/code pach before storage

- tested: Header('Location: yoururl');exit(); before storage because I do not store any value, if you need to store, try after storage

123 Posts
EclipseMedia
8 years ago
1
Level 1

Where do I edit the Submit Button. 

Here is a screenshot with the settings. I just don't know what to set. http://my.jetscreenshot.com/23072/20151216-babo-50kb

8 years ago
0
Level 2

Redirection>>>select the menu item.

Prior to that, the relevant menu item should be created

123 Posts
EclipseMedia
8 years ago
1
Level 1

This issue is that the drop down only allows me to select a menu item. I need it to redirect to an external URL like www.google.com . When I create a menu item that IS an external URL, and I assign that menu item from the Redirection drop down, I then get a 404 error on submit

123 Posts
EclipseMedia
8 years ago
0
Level 2

Anyone? :)

310 Posts
ricco
8 years ago
0
Level 1

Hi,

I don't think you can have "conditional Submit buttons". The button that submits the form should be one.

I think you are not doing the redirection in the right place. The redirection can be set in the "Configuration" tab of the form itself, not in the button options.

I would also like to know, like you, what that "Redirection" option in the "Submit" field's options do??? So far it does nothing!

Best regards,

ricco

Get a Book for SEBLOD