vince
|
Posted: 01/28/2002, 6:46 AM |
|
Is there a way to have a javascript thank you message popping up once the insert in a record form is successful and only if it is successful?
I am using PHP w/ templates and MySQL.
Thanks!
|
|
|
Alex Alexapolsky
|
Posted: 01/28/2002, 8:59 AM |
|
Oh .. actually if insert is successfull then page doesn't display
error , so you simply should output
<script>
alert("OK!");
</script>
in after insert,update events ...
but the whole approach looks wrong
you better use validation event and perfomr all checkup there and assign
error message to s[FormName]Err variable.
|
|
|
Alex Ventura
|
Posted: 01/28/2002, 9:22 AM |
|
can this also be use on access/asp?
|
|
|
|