Hello everyone!
i have redirect-action to
Url: http://www.domain2.com
when i submit looks like get request:
http://www.domain2.com/field=&field1=&button=button
is there some way to get rid of field=&field1=&button=button
there are alot options to add params, but how to remove?
is there an easier solution than javascript manipulation?
A chronoform-way?
anybody some hint?
Hi mdma,
The Redirect action will use only the UL and parameters that you set. If you don't need them, you can leave them out. ChronoForms does not ad field or button by default.
Bob
Hello Bob, You are totally right !! that came from my custom.js
i have seen the docu "get form data to php" but struggle a bit with understanding:
i need to get the form data of a datepicker(field1)
i have to explode the input Y-M-D and hand over to extra params of redirect dynamically:
day=D from field1
variable monthyear=M-Y from field1
is it realizable like this?
and in extra params like this:
newparamname=year
newparamname=['year']
i ill try this thousand thanks..
i have a php switch for custom code..
you know how to pass dynmamically the redirect-url from custom code based on language?? or should i make multiple redirects for different lang-url?
is there some variable possible to hand over from custom code like?
$form->action['http://wwwredirect-url.com']
1.)Thankyou alot! I totally checked everything!
2.)The event-code for events works! i had some custom js loading, thats why my events where not working.
3.)I tested now everything. and i came up to also replace the url through locales! it works too
Now i feel like: "havent seeing trees, standing in a forrest"!😶
redirect url: http://www.urltoredirectbutreplacethroughloales.com
Locale settings:
urltoredirectbutreplacethroughloales=urltogerman
output:
http://urltogerman.com