Hi,
I'm making a VB4 custom page, and I want it to allow people to fill out the form, but then after submitting it will check if they're logged in and redirect them to Register or Login.
I can get this to work using this code:
Code:
standard_error(fetch_error('mycustomphrase'), '', false, 'STANDARD_ERROR_LOGIN');
However, what I need is it to submit the form after successful login or registration.
I've been looking at the VB API and code. I can see that in Registration page, there is a <input type="hidden"> field for URL redirection. but you can't add params to it (or that I could see).
And what about login? how do I pass the URL (including params) to redirect back?
The script can accept something like:
?add=Submit¶m1=data¶m2=data
(the security of it will force back to login/register if not)
Can somebody provide me with some direction ...