Redirect to form with Show Form

federcla 22 Nov, 2012
Hi,
i use the action show form for do the redirect in a another form, it work good, but i have a problem with a variable

in the show form i can setting only the name of the destination form and which event, but in the event of form destination i must setting a variable for made some operation.

How do I set the variable?

tks
GreyHead 22 Nov, 2012
Hi federcla,

You can use the ReDirect URL action to build a URL using form data; then the ReDirect User action to do the redirection.

Bob
federcla 22 Nov, 2012
Sorry Bob, but i don't understand
i must use together the actions, or i must use only 1 ?

i m now using the Show Form because i can call a form and i can use Form Event, i need of this possibility

you can help me?

tks

sorry for my english
GreyHead 22 Nov, 2012
Hi federcla,

You need both actions.

The ReDirect URL lets you create a URL, but does not redirect.

The ReDirect User does the redirection.

If you want to redirect to a particular form event then include event=event_name in the URL.

Bob
federcla 22 Nov, 2012
ok, it work, but i have another question🙂

in the ReDirect URL in the section Params/Fields map I must use a variable

i can do this?
GreyHead 22 Nov, 2012
Hi federcla,

You can use an input name in curly brackets; or a string constant without brackets.
name={input_name}
password=123456
. . .


Bob
federcla 23 Nov, 2012
ok, it work, but there is one more problem

with this action i must use a static link for call the form, but my system is in a lan, but i can see also outside of the lan, but i have 2 different ip address, 1 for inside the lan 1 for outside the lan

How can I solve this problem?

thank you very much
GreyHead 23 Nov, 2012
Hi federcla,

Sorry please explain some more; I don't understand what this problem is?

Bob
federcla 26 Nov, 2012
hi Bob
i have inserted in the ReDirect URL and in Redirect User as Target URL this url

http://10.0.0.4:8080/sks/index.php?option=com_chronoforms&chronoform=Kalibra_Report&event=submit


but this is the URL that i use inside the LAN, if i want use my site outside of the LAN i use the ip address

http://ip_address:8080/sks/index.php?option=com_chronoforms&chronoform=Kalibra_Report&event=submit


but when i call the form with the redirect it don't work, because call the static url

I do not know how I can fix this problem

tks
GreyHead 26 Nov, 2012
Hi federcla,

I've no idea how to fix it either. The whole idea of URLs is that they are 'Universal Resource Locators'. Maybe you can change something in your LAN settings so that the outside URL works internally as well.

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