CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> Archive -> GotoCode Archive

 pop up on successful insert

Print topic Send  topic

Author Message
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?

   


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.