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
|
 |
 |
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.....
|
 |
 |
|