Hi Bob,
It has been a busy day!
I can't quite get the hang of redirect URL. I want to redirect to another chronoform, passing a couple of parameters keys for a db record,
I gather that I put nothing in the redirect user box and
Do I then put
where formNameToLoad, theMemberID and theMorPCode are fields in the calling form?
I am having trouble because the chronoform parameters seems to being added twice - in that order and then repeated at the end of the URL.
Regards Nick
It has been a busy day!
I can't quite get the hang of redirect URL. I want to redirect to another chronoform, passing a couple of parameters keys for a db record,
I gather that I put nothing in the redirect user box and
index.php?option=chronoforms Do I then put
chronoform=formNameToLoad
renewMemberToken=theMemberID
MorP=theMorPCode
where formNameToLoad, theMemberID and theMorPCode are fields in the calling form?
I am having trouble because the chronoform parameters seems to being added twice - in that order and then repeated at the end of the URL.
Regards Nick
Hi Nick,
In the ReDirect URL action you want to put just index.php in the Target URL box. Everything after the ? goes in the Params/Fields box with input names in {} curly brackets to distinguish them from static values:
Then you need to add a ReDirect User action as the last action in the On Submit event to do the actual redirection.
Bob
PS it's option=com_chronoforms
In the ReDirect URL action you want to put just index.php in the Target URL box. Everything after the ? goes in the Params/Fields box with input names in {} curly brackets to distinguish them from static values:
option=com_chronoforms
chronoform={formNameToLoad}
renewMemberToken={theMemberID}
MorP={theMorPCode}Then you need to add a ReDirect User action as the last action in the On Submit event to do the actual redirection.
Bob
PS it's option=com_chronoforms
Ah hah! And so I don't really need a field for the form name since it is a 'constant'. Chronoforms - my typing is worse on my iPad.
Thanks as ever. Chronoforms and your support really are the tops!
Nick.
Thanks as ever. Chronoforms and your support really are the tops!
Nick.
But I didn't understood how did you used {theMemberID} and {theMorPCode} simultaneously to load the user data in the form.
Could you please clarify.
What actions and events you used.
Could you please clarify.
What actions and events you used.
This topic is locked and no more replies can be posted.
