Forums

Extra params in redirect url

albertobp 09 Feb, 2017
Hi,
I I have an extra parameter formed by combining two fields on the form. How should I behave?

ES:
par=data1_data2 (the result should be ?par=1_2)

I had no problem to add a value only, but I don't know how to do a mix of multiple fields and symbols

Thx!
GreyHead 09 Feb, 2017
Hi albertobp,

I'm sorry, I don't understand your question :-(

Bob
Max_admin 10 Feb, 2017
Hi,

You will have to use PHP in a custom code action to achieve this:

<?php
\GCore\Libs\Env::redirect("url here".$form->data("data1")."_".$form->data("data2"));


Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
albertobp 10 Feb, 2017
Thanks, it works perfectly!
This topic is locked and no more replies can be posted.