Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning ASP 3.0 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 13th, 2004, 10:41 PM
Authorized User
 
Join Date: Jul 2004
Posts: 26
Thanks: 0
Thanked 0 Times in 0 Posts
Default use of onsubmit

I am studying the Wrox book "beginning ASP 3.0" (page 659). This book shows how to perform a client side data validation routine written in JavaScript. The book says JavaScript is best because it is compatible with most Browsers. Also client side is best for speed since the server is not involved. All that is fine. I simply would like to try writing a client side VBscript validation routine for my own understanding of things. I like to see what is possible just to learn about things. I am able to make JavaScript work but don't know the syntax to make client side VBScript work. Is it possible? The following works with JavaScript: <FORM ACTION = "NextPage.asp" METHOD="POST" onsubmit="return Jscript_Rtn()"> If the Jscript_Rtn() produces a Boolean false result, the <Form> tag will not tell the browser to call the "NextPage.asp", so the application user is forced to fix the errors. The validation routine must produce a True result for control to be passed to "NextPage.asp". I simply am curious if this can be achieved with VBScript.

Cmarek
__________________
Cmarek
 
Old July 14th, 2004, 04:15 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Has been answered in your other post here http://p2p.wrox.com/topic.asp?TOPIC_ID=15997

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
Question concerning use of "onsubmit" cjmarek Classic ASP Basics 10 July 15th, 2004 07:04 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.