» Quick Links
You can make money on these forums
We Share profits with you
Google
Google Adsense
Google Adwords
YPN
Yahoo
MSN Search
Web Directories
Web Hosting
Web Hosting Offers
Hosting News
Suggestions
Link Building
Domain Names
PHP Forums
MySQL Forums
» More Links
OSP News
Reseller Hosting
Shared Hosting
Dedicated Servers
Google Adsense
Search Engine Marketing
Link Development
Affiliate Marketing


» Advertising
Multiple DC PR Check

Free SEO Tools


Go Back   Webmaster Forums > Website Developement / Programming > ASP forums and Tips

ASP forums and Tips Talk about ASP Scripting. .net and Cold Fusion as well.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2006, 11:27 AM
trumper trumper is offline
OSP Starters
 
Join Date: Aug 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
trumper is on a distinguished road
Default Form validation before submission to ASP page

Hi pals

I have a timesheet type form that has 40 different row - each row has two dropdowns, one for a project and one for a task, and a dropdown box for each day of the week. Once a project and task has been selected, hours spent on that task each day of the week are entered into the text boxes.

What I would ideally like to do is, before I send this page for processing on my asp page (which involves saving the data back to the database), I'd like to check whether or not the user has entered the same project/task combination on multiple rows.....the dropdowns on each row are named project1-project40, task1-task40, mon1-mon40 etc.

I'm using VBScript for the server side scripting, but I'll happily incorporate a section of Javascript code if that will offer me a simpler solution.

Waiting for your insights -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Revenue Sharing Ads ( ?):
  #2  
Old 08-19-2006, 11:29 AM
gizmo77 gizmo77 is offline
OSP Starters
 
Join Date: Jul 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gizmo77 is on a distinguished road
Default

The short answer is "do a search for javascript clientside form validation".

you can place a test in the forms onsubmit event handler that makes sure the fields are exactly what you want them to be.

you can even do it with client side vbscript form validation but that would mean your audience would only be internet explorer users. -- This message may have been cut off and the rest will only be shown to members. To become a member, click here --
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basics : On-Page Optimization, few things you shouldn't miss !! pumice Premium Webmaster Articles 12 06-17-2007 02:15 AM
Posting from one form on a page to another form chloe ASP forums and Tips 1 08-25-2006 11:57 AM
automated directory submission or manual submission? harmison Link Building 1 07-30-2006 01:10 PM
home page links and internal page links!! juliana Link Building 5 03-28-2006 12:48 PM
yahoo returning the index page erica Yahoo 2 03-26-2006 06:11 AM


All times are GMT. The time now is 02:11 AM.