Forums
This topic is locked
registration page - beginner
Posted 30 Jun 2002 19:54:17
1
has voted
30 Jun 2002 19:54:17 Tim Langford posted:
<font face='Verdana'></font id='Verdana'><font size=2></font id=size2>I am building a registration page for a site I am currently developing.(DWMX)
I'd like to know what to do to make sure that both password fields on the page are identical.(ASP code-not JS) -- On the same note, I have inserted 2 password fields into the registration page, but do I put 2 password fields in the database. If anyone could explain how to do these things, I would really appreciate it.
Thanks --
-----------------------------
<font color=blue>--TJL</font id=blue> <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
Replies
Replied 01 Jul 2002 10:25:38
01 Jul 2002 10:25:38 Viktor Farcic replied:
After you post data, below "MM_abortEdit = false" line, check if strings are different and, if they are, set MM_abortEdit = true. Something like:
<%
If Request.Form("Password1" <> Request.Form("Password1" Then
MM_abortEdit = true
End If
%>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<font face='Verdana'></font id='Verdana'><font size=2></font id=size2>
I am building a registration page for a site I am currently developing.(DWMX)
I'd like to know what to do to make sure that both password fields on the page are identical.(ASP code-not JS) -- On the same note, I have inserted 2 password fields into the registration page, but do I put 2 password fields in the database. If anyone could explain how to do these things, I would really appreciate it.
Thanks --
-----------------------------
<font color=blue>--TJL</font id=blue> <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
www.farcic.com
TalkZone Manager
Edited by - vfarcic on 02 Jul 2002 09:23:58
<%
If Request.Form("Password1" <> Request.Form("Password1" Then
MM_abortEdit = true
End If
%>
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
<font face='Verdana'></font id='Verdana'><font size=2></font id=size2>
I am building a registration page for a site I am currently developing.(DWMX)
I'd like to know what to do to make sure that both password fields on the page are identical.(ASP code-not JS) -- On the same note, I have inserted 2 password fields into the registration page, but do I put 2 password fields in the database. If anyone could explain how to do these things, I would really appreciate it.
Thanks --
-----------------------------
<font color=blue>--TJL</font id=blue> <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>
Viktor Farcic
www.farcic.com
TalkZone Manager
Edited by - vfarcic on 02 Jul 2002 09:23:58
Replied 02 Jul 2002 14:30:07
02 Jul 2002 14:30:07 Tim Langford replied:
<font face='Verdana'></font id='Verdana'><font size=2></font id=size2><font color=blue></font id=blue>This doesn't seem to work for me!? I'm really quite new to 'all things asp'. I'm not sure what you mean by 'strings'. Sorry, I'm probably a little stupid. Thanks for your help.
<font color=blue>--TJL</font id=blue> <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>
<font color=blue>--TJL</font id=blue> <img src=../images/dmxzone/forum/icon_smile_wink.gif border=0 align=middle>