Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date ][Minivend by thread ]

[mv] Saving my user in userdb only with username and password.



******    message to minivend-users from Sebastian Wain <swain@helicoid.com>     ******

This is another question I found in the list, but I can't put the answer in action!

Well, I have a form createaccount.html and testcreateaccount.html and I tried to create an user account only with the username and password. (I can only see information saved in the userdb when I fill the customer information in my checkout form, but in this case the username is created automatically)


Thank You
Sebastian Wain


createaccount.html
-------------------------------------------
<HTML>
<HEAD>
</HEAD>
<BODY>
	<FORM ACTION="[process-target]" 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=mv_nextpage VALUE=testcreateaccount>
	Username:<INPUT NAME=mv_username VALUE="" SIZE=10><BR>
	Password:<INPUT TYPE=password NAME=mv_password VALUE="" SIZE=10><BR>
	Verify Password:<INPUT TYPE=password NAME=mv_verify VALUE="" SIZE=10><BR>
	<INPUT TYPE=submit VALUE="Create Account" SIZE=10><BR>
	</FORM>
</BODY>
</HTML>
-------------------------------------------



The testcreateaccount is: (I began to put every tag I saw!!!) 
-------------------------------------------


[tag touch userdb][/tag]
[tag flag write]userdb[/tag]
[userdb function=save]



[value mv_click]<BR>
[value function]<BR>

mv_username		[value mv_username]<BR>
mv_password		[value mv_password]<BR>
username			[value username]<BR>
[value makus]
-----------------------------------------------------------------
-
To unsubscribe from the list, DO NOT REPLY to this message.  Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list


Search for: Match: Format: Sort by: