Brent
|
| Posted: 05/20/2002, 10:37 PM |
|
CCS: I need to execute some code *after* the Login form has validated the username and password
against a Member table. The closest I've found is OnValidate. But this event executes before
validation.
Which event should I use? TIA
|
|
|
 |
Alex Alexapolsky
|
| Posted: 05/21/2002, 1:58 AM |
|
Find where validation event is bound in the code of the page and insert your code
right in the code following it. CCS lets you add code without events
and changes are saved.
|
|
|
 |
Brent
|
| Posted: 05/21/2002, 7:08 AM |
|
>>Find where validation event is bound in the code of the page and insert your code
>>right in the code following it. CCS lets you add code without events
>>and changes are saved.
Alex,
Ok, I found it. The event is automatically generated ("Login_DoLogin_OnClick()")
in Login_events.php (I didn't have to create it). This might be worth mentioning
(with an example) in the CCS manual so the user can add their own code when validation
fails or succeeds. I think this event could be used a lot. Thanks.
Brent
|
|
|
 |
|