Wrox Programmer Forums
|
ASP Forms As of Oct 5, 2005, this forum is now locked. Please use "Classic ASP beginner" at http://p2p.wrox.com/forum.asp?FORUM_ID=54 or "Classic ASP Professional" http://p2p.wrox.com/forum.asp?FORUM_ID=56 instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP Forms 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 November 1st, 2004, 12:09 PM
Authorized User
 
Join Date: Oct 2004
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default auto form submission

i checked using the SEARCH but i couldn`t find anything regarding this : apologies if this has been asked a thousand times !!

currently i am using javascript for form validation - which fires on form submission. An alert is shown and the form submission is bypassed should an error occur. I don`t like the alerts thus want to make some changes.

I`m going to submit the form to itself, check the values and if ok i want to automatically submit values to another form to create entries in database. Is this possible? if not i`ll have to merge 2 asp files into 1.

cheers


 
Old November 1st, 2004, 05:00 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

If I have understood that right, You should be validating the values using javascript and then trigger the form's submit event from within javascript and on the action page capture the form's submitted data and write them to database. I don't see any need for another form and having to submit values to that form. Are you referring to PAGE in that case? Values of a form are submitted to a page. How do you submit values to another form? May be you can explain that in detail, if I haven't understood that yet.

Cheers!

_________________________
- Vijay G
Strive for Perfection





Similar Threads
Thread Thread Starter Forum Replies Last Post
form submission...help!? mdbrueckner ASP.NET 2.0 Basics 1 September 19th, 2007 06:16 PM
Form Submission - Sending Mail - Help tact_259 PHP How-To 0 April 11th, 2005 11:22 PM
C# reset of checkbox after form submission booksnore2 General .NET 5 July 29th, 2004 10:30 AM
Simple Form Submission Maxood Beginning PHP 3 July 17th, 2004 06:03 AM
conditional form submission moushumi Classic ASP Basics 1 March 30th, 2004 08:12 AM





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