Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript How-To
| Search | Today's Posts | Mark Forums Read
Javascript How-To Ask your "How do I do this with Javascript?" questions here.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript How-To 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
  #1 (permalink)  
Old May 24th, 2005, 04:44 AM
Authorized User
 
Join Date: Jul 2003
Location: , , .
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default How do I add up info for form validation?

Hi there

Could someone help me with the following problem...

I have several dropdown boxes on a page, each containing values from 0 to 10. As the user chooses values from each box I need to add these up in a hidden box to make sure the total value is not 0. If it is 0, then on my submit validation on the page I need an error message to pop up. How can I add each box up onto the page - I think I may need to use OnChange but i'm not sure. Can anyone help?

Cheers

Lucy



Similar Threads
Thread Thread Starter Forum Replies Last Post
Standalone validation + web form validation morbo Struts 0 August 19th, 2008 04:02 AM
How to get info on Website form Win Application?! Awsok VS.NET 2002/2003 0 March 3rd, 2005 11:31 AM
problem in posting info frm child form to parent aravwind General .NET 2 July 28th, 2004 06:04 AM
How Can I Add Info From a Txt File Into a DB? Lucy Classic ASP Professional 3 October 21st, 2003 11:00 AM
How do I store user login info to use in a form? lanctotd Classic ASP Basics 1 July 15th, 2003 08:06 PM





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