[ic] create a new account
Scott Andreas
webteam at wes-state.com
Mon Nov 15 19:19:02 EST 2004
Hello users
I'm trying to have the users create an account before checkout. Is what
I want it to do is auto assign the username with the next
username.autonumber sequence. Since I'm using email as the login feature
I want the user to enter his/her email address and a verified password .
After which it should take them to the new_account page.
My code that I'm trying to get to work is...
[set NewAccount]
[if type=explicit compare="[userdb new_account]"]
mv_nextpage=account
[else]
mv_nextpage=new_account
[/else]
[/if]
[/set]
<FORM ACTION="[process]" METHOD=POST>
<input type=hidden name=mv_session_id value="[data session id]">
<INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount>
<INPUT TYPE=hidden NAME=mv_doit VALUE=return>
<INPUT TYPE=hidden NAME=function VALUE=new_account>
<INPUT TYPE=hidden NAME=assign_username VALUE=1>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket>
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="right" class="contentbar2">
<b>[L]Email[/L]:</b>
</td>
<td class="contentbar2" align="left">
<input type="text" NAME=email VALUE="">
</td>
</tr>
<tr>
<td align="right" class="contentbar2">
<b>[L]Password[/L]:</b>
</td>
<td align="left" class="contentbar2">
<INPUT TYPE=password NAME=mv_password VALUE="">
</td>
</tr>
<tr>
<td align="right" class="contentbar2">
<b>[L]Verify Password[/L]:</b>
</td>
<td align="left" class="contentbar2">
<INPUT TYPE=password NAME=mv_verify VALUE="">
</td>
</tr>
<tr class="contentbar1">
<td> </td>
<td>
<INPUT TYPE=submit VALUE="[L]Create New Account[/L]">
</td>
</tr>
[if config CookieLogin]
<tr class="contentbar1">
<td align="right">
<INPUT TYPE=checkbox NAME=mv_cookie_password VALUE=1>
</td>
<td>[L]Log me in automatically (sets cookie)[/L]</td>
</tr>
[/if]
<tr class="contentbar1">
<td align="right" colspan="2"> </td>
</tr>
</table>
Any help would be appreciated
Thanks List
S Andreas
More information about the interchange-users
mailing list