VP-ASP :: Shopping Cart Software

Shopping Cart Software Solutions for anywhere in the World

US/Canada(Toll Free): +1 888 587 2278
Europe/UK: +44 (020) 7193 9408
Australia/New Zealand: +61 3 9016 4497

VP-ASP Shopping Cart Customer Forum

Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VPCart Forum
 General help me questions
 change default.asp to login with password
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

IfOnly
VP-ASP New User

United Kingdom
90 Posts

Posted - March 03 2004 :  07:44:31  Show Profile  Reply with Quote
On the exisitng default.asp a login box for lastname and email address exists. I have changed the x config to require a password and email address instead.
I have looked at the coding on this box in default.asp and see
<form action="shoplogin.asp" method="post">
<input type="hidden" name="returnurl" value="shopdisplaycategories.asp">
<span CLASS="text-white-bold">Last Name</span>
<input type="text" name="strlastname" CLASS="input-text">
<br>
<span CLASS="text-white-bold">Email</span><br>
<input type="text" name="stremail" CLASS="input-text"><br>
<input name="L1" type="submit" value="Login" CLASS="submit-text">
</form>


I guess I change the "strlastname" to "str?" where ?= what ever the name of the field is for password in the database.
However I have downloaded a copy of the database to find the field from the register table but there are 2 fields, one public and more worringly for me no entries as registrants for the 3 test customers I have set up, that the browser seems to remeber Ok.

Am I on the right track please and could someone tell me where I have gone wrong, missed off.

Also if I want to place the Email form box above the password box is it as simple as just swapping the lines of code above?


Regards

Phil

jonmadrid
VP-ASP New User

USA
192 Posts

Posted - March 03 2004 :  09:41:53  Show Profile  Visit jonmadrid's Homepage  Reply with Quote
Hi Phil,

The name of the form element for the password field should be 'strPassword', whereas it is currently 'strlastname' for the last name.

And, yes, all you would need to do is flip those lines of code around to show the E-Mail above the password field.

I hope that helps get you on the right track!

All the best,

Jon Madrid
--------------------
Madrid Communications
Web Design, Development, and Hosting
www.madridcom.com
Go to Top of Page

IfOnly
VP-ASP New User

United Kingdom
90 Posts

Posted - March 03 2004 :  10:32:21  Show Profile  Reply with Quote
Thanks Jon it worked fine.

Would you know why there were no customers listed in the table, registants though in the database I downloaded and opened in Acess 2003 please? Am I looking in the wrong place for them?

Regards

Phil
Go to Top of Page

jonmadrid
VP-ASP New User

USA
192 Posts

Posted - March 03 2004 :  12:47:30  Show Profile  Visit jonmadrid's Homepage  Reply with Quote
Hi Phil,

Well, if you're sure they were actually registered then they should definitely be in the database. The table in question is named 'customers'. You are talking about customer records, right?

All the best,

Jon Madrid
--------------------
Madrid Communications
Web Design, Development, and Hosting
www.madridcom.com
Go to Top of Page

IfOnly
VP-ASP New User

United Kingdom
90 Posts

Posted - March 03 2004 :  13:24:05  Show Profile  Reply with Quote
Hi Jon

Thanks for your help, not being a normal user of Access, i missed the scroll bars, this time I found the customers table and the entries

Regards

Phil
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000