Beginner Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOtherBeginner Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now!
  #1  
Old April 23rd, 2002, 01:14 PM
csanchez csanchez is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2002
Location: 24 Lincoln St. Morristown, NJ. 07960
Posts: 7 csanchez User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
VBScript, form, validation, and database

I am having a very difficult time trying to validate fields in a form on submit; loading a thank you page and sending the info into a data on the submit button.
This is what I need:
1) A form with required fields so that when the submit button is pressed an error message pops up telling the user to fill in the required field.
2) Once the form is completed (with the required fields), on submit the user will see a thankyou page saying the information has been saved into a database.
3) Once submitted the information provided by the user has to be stored in a database.
This is what I have:
1) A mess!
2) A form (prform.asp) that looks really good but doesn't validate.
3) A thank you page (infosub.asp) with lots of codes that I don't know what they do.
3) A database (projectregistration.mdb) that takes information only if the field is filled (required or not).

If there is anyone who can help me or would like to help me, please contact me at cjsanchez1@hotmail.com

Thanks,
I'm

PS...I tried to attach the files but it seems that it only takes one. Can I get around this?

Reply With Quote
  #2  
Old April 24th, 2002, 09:20 AM
tron's Avatar
tron tron is offline
SwollenMember
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: the master control
Posts: 234 tron User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 44 m 46 sec
Reputation Power: 9
1) Use javascript to validate your form: here is a link to the first site that came up in my search:
http://javascript.about.com/library...y/aa070901a.htm

2)printing a 'thank you' could be done pretty easily...this is basic ASP

3)form validation can help you get around some of this. you also might need to modify your sql statement to reflect certain fields that need to be updated...maybe use some if statements.

stuff like this is pretty basic ASP. i would suggest taking some time out of your day for a tutorial...it will help.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOtherBeginner Programming > VBScript, form, validation, and database


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway