Print Page | Close Window

Form Processing

Printed From: Web Wiz Forums
Category: General Discussion
Forum Name: Classic ASP Discussion
Forum Description: Discussion on Active Server Pages (Classic ASP).
URL: https://forums.webwiz.net/forum_posts.asp?TID=14360
Printed Date: 29 March 2026 at 6:49pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Form Processing
Posted By: ub3rl337ch3ch
Subject: Form Processing
Date Posted: 21 March 2005 at 9:03pm
Is there any way that asp can find the value of fields without a form having to be submitted? Is there a way that I can transfer the values from javascript to asp?



Replies:
Posted By: zaboss
Date Posted: 22 March 2005 at 2:43am
ASP has no ideea of what is going on in the client browser until he hit the submit button, but JScript is powerfull enough for handling even some complex form checking. The only downsize to JScript is that some people believe that it does horrible things to their computers and turn it down. Even some firewalls may interfere with that.

If it is very important and you cannot rely on JScript, I would do n intermediary temporary page and only in this page I would place the Submit button. That is:

Te user is filling in the form and has 2 choices: Reset and Check. After he use the check button it is taken into a page that checks the values of the form and point him to correct them (if necessary). And only here he has the option of submitting the form. Or, of course, to correct the problems.


-------------
Cristian Banu
http://www.soft4web.ro - Soft 4 web


Posted By: MadDog
Date Posted: 22 March 2005 at 3:57am
Only javascript can really tell what is in the field before its submitted. ASP is server side, not client side.

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: michael
Date Posted: 22 March 2005 at 12:06pm
One of the things I am keen on in asp.net 2.0 where exactly that is possible. returning results from a db based on a form without posting the form. It's called Script Callback by implementing ICallbackEventHandler. Essentially I think it puts some dynamic javascript on the page that accepts DOM responens from the server. Theoretically you can implement something like that in any language thus I think it'll get quite complicated and you have to ensure the browser supports DOM

-------------
http://baumannphoto.com" rel="nofollow - Blog | http://mpgtracker.com" rel="nofollow - MPG Tracker


Posted By: ub3rl337ch3ch
Date Posted: 22 March 2005 at 5:27pm
Thats what i thought. Doesn't matter now anyway, the reason i wanted to do it like that was so that i didn't have to reload a page to submit details. I decided to just get my submit button to open a new window then submit to it 100ms later... then do a js close after processing the form.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net