Current location: Hot Scripts Forums » Programming Languages » ASP » ASP help for validation of HTML form with javascript


ASP help for validation of HTML form with javascript

Reply
  #1 (permalink)  
Old 03-20-06, 06:32 AM
dhanashree dhanashree is offline
Newbie Coder
 
Join Date: Mar 2006
Location: Mumbai,India
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
ASP help for validation of HTML form with javascript

Hi,
i m trying to create a form in HTML which is directed to an ASP page.
But i m not able to create the asp page in javascript. i have a knowledge of javascript & not VBscript.
I want to extract data from the html page & try to validate it with the asp page.
my html page includes all the client side validation reqd while filing up the form at the client side.

How do i create asp page & extract data from the html page...like which option is marked.... & so on.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 03-20-06, 06:10 PM
koncept
Guest
 
Posts: n/a
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 03-22-06, 02:28 PM
garraeth's Avatar
garraeth garraeth is offline
Newbie Coder
 
Join Date: Feb 2005
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
In addition to the tutorial posted (which is great), I know some people find it helpful to keep in mind the information flow through the systems. Visualizing it.

Step 1: enter data (client side)
Step 2: javascript parse and confirmation (client side)
Step 3: Javascript "ok"'s it at the browser sends it off to the server
Step 4: ASP grabs the data using Request("") (server side)
Step 5: do any additional validation (such as checking the database for duplicate email addresses -- stuff you can't easily do w/ the JavaScript) (server side)
Step 6: process data (server side)
Step 7: display error/success message - either using Response.Write plain text, or you can also Response.Write some JavaScript out if you'd like it to say make a popup confirmation/error window (server side working w/ client side)

Good luck!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ASP Form Script needed mringer ASP 2 04-21-10 05:02 AM
html tutoral thefrtman HTML/XHTML/XML 5 04-27-09 11:25 AM
HTML DOM, JavaScript, ASP, where to begin? fushichouryuuko ASP 1 01-01-05 05:18 PM
save asp as html clintwolf12 ASP 0 10-29-04 11:05 AM
formmail problem gscraper Perl 12 08-27-04 04:06 AM


All times are GMT -5. The time now is 09:12 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.