I do apologize if this is not the right place for me to ask this question.
I have searching the forum using "registration form" as key word, but cant find what i m looking for, so please forgive me if someone already ask about this on another place.
I have a need to have simple form at frontpage to collect only name and email of those who want to register, when they click on register button, this two infos (name and email) will be passed to original registration form and fill name and email field of that form.
Here is the code i used(im newbie so please dont laugh lol):
When com_registration show up, name and email's field still empty, how can i pass this info from frontpage.
Please dont direct me to any extension, i just wanna know is there a way to do this by only changing the index of theme.
Thanks in Advance,
n3m0
Pass some datas to registration form
Moderators: tjay, seadap, Rogue4ngel, matthewhayashida
Re: Pass some datas to registration form
Hi,
you can't.
the registration form does not accept external data to be shown inside the form.
Since this is a J! 1.0.x related question, you'd need to "hack" registration.html.php in order to do so.
Your FORM code also contains some irrlelevant data that'd never make it to receiving script.
- the action URL contains two additional arguments
- both are also available as fields
- since the FORM uses method=POST the params given in the action-URL will be overwritten by those fields
Have fun,
CirTap
n3m0 wrote:When com_registration show up, name and email's field still empty, how can i pass this info from frontpage.
you can't.
the registration form does not accept external data to be shown inside the form.
Since this is a J! 1.0.x related question, you'd need to "hack" registration.html.php in order to do so.
Your FORM code also contains some irrlelevant data that'd never make it to receiving script.
- the action URL contains two additional arguments
- both are also available as fields
- since the FORM uses method=POST the params given in the action-URL will be overwritten by those fields
Have fun,
CirTap
You can have programs written fast, well, and cheap, but you only get to pick 2 ...
"I love deadlines. I like the whooshing sound they make as they fly by." Douglas Adams
"I love deadlines. I like the whooshing sound they make as they fly by." Douglas Adams
Re: Pass some datas to registration form
Allright, thank you so much 
