CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 password confirmation

Print topic Send  topic

Author Message
rvp032582

Posts: 47
Posted: 06/14/2007, 10:36 AM

i need to build a login form where ppl enter their password and then in a text box below they retype it to confirm and make sure it matches.

i have something like (where users.TextBox1.Value is the empty text box where the password is re-type and user.Label1.Value is the lable that displays the message).



Function InfoRequests_DataSource_AfterExecuteInsert(Sender) 'users_DataSource_AfterExecuteInsert @6-C2391328

'Custom Code @12-73254650
' -------------------------
if users.TextBox1.Value <> users.pword.Value Then
users.Label1.Value = "Passwords do not match. Please re-type it."
' -------------------------
'End Custom Code

End Function 'Close users_DataSource_AfterExecuteInsert @6-54C34B28



do i have the right syntax? or would be an after excute event or before? not sure which type of event to use.
thanks
View profile  Send private message
Benjamin Krajmalnik
Posted: 06/14/2007, 3:57 PM

You should have this in the onvalidate, not aftereecute insert.
At tihs point you are too late and the data has made it into the database.

rvp032582

Posts: 47
Posted: 08/23/2007, 6:34 AM

nope that didn't work either. figured....
does anyone find using codecharge cumbersome and annoying? would hand coding be a better option? it just seems weird that this software generates sometimes THREE files (per 1 page)to be uploaded to the web instead of one.

the several hundred line long asp file
the html file
the asp events file (when applicable)

that's a lot of extra KB clogging up the server, when ONE hand coded file would do all the things the asp and asp events files would do and take up way less space on the server.....
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.