Forums

Redirection is not working

aquame 30 Dec, 2012
Hi!

I am noob in CF, but I like this com. I have spent 3 days on an issue, but I can not find any solution.
The problem is that I want to make a redirection from one form to another, but it is seems to be impossible.

I have tried it in several ways, but redirect URL is allways corrupt.
I have a form lets call it "formA" where user can type some search criteria in a textbox, and submit that by "Submit" button. After that I want to redirect to "formB", where I make a DB search and show results.
The form B is working correctly, if I call it from browser, with the URL like this:

http://mysite/index.php?option=com_chronoforms&chronoform=Form_B&search_field=search_criteria.

I was trying to use a "ReDirect URL", and "ReDirect User" action in "On Submit" event, whith the above link, but none of them worked (not even when I tried to use them together, leaving Redirect user Target URL empty). Should I tell, that I used curly brackets and so on, as in tutorial. I think this is not the point...

What I see in redirection is an imperfect URL, like this:

http://mysite/index.php?search_field=search_criteria&input_submit_name=submit_text

There is no information in sent link about the form the request is sent to, so there is no result of course. This is a redirection to home page only... (in the URL I was typing in Target URL I gave that info, but it was removed somehow. And there is the input_submit_name parameter which I did not type and which is absolutely unnecessary...)

I tried to put the two forms together, and give the entered search value to the form itself, using Submission Event value "Self" (in Show HTML/Configuration/Advanced(Multi Page) panel) but the result was the same. The URL was incomplete just like I mentioned above. So the form could not target itself.

I am absolutely confused about this. Could anybody help me?

Thanx a lot in advance!

aquame (Hungary)
aquame 30 Dec, 2012
Oh my...

It was my fault. I have made a very silly mistake with publishing module.
After I realized that and repaired the form name in module config, it is working as it supposed.

Sorry for disturbing! :-)

aquame
This topic is locked and no more replies can be posted.