Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


Adding up all fields of a Form

Posted on 1997-08-16
Medium Priority
Last Modified: 2012-08-14
I'm trying to add up the values of each item in my form.  the problem is that I can't add in the value of a pulldown menu.  I have to have it added to the final sum.  Can anyone help me?
Question by:benread
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
LVL 10

Expert Comment

ID: 1268989
Some code or page URL would be usefull :) to understand
what really you want to do


Accepted Solution

barakp earned 200 total points
ID: 1268990
Use and if sentence for that pulldown menu.

If (pulldown=something)
else if (pulldown=something else)

Author Comment

ID: 1268991
ok, here's the problem... I have nine selections, with values from 1 to 9 we'll say, and I need to put all of this in a single variable.  I'm sorry for not saying that earlier.
The top UI technologies you need to be aware of

An important part of the job as a front-end developer is to stay up to date and in contact with new tools, trends and workflows. That’s why you cannot miss this upcoming webinar to explore the latest trends in UI technologies!


Author Comment

ID: 1268992
OK, I guess the real question is, "How do I get the value of a pulldown menu option?"

Expert Comment

ID: 1268993
do you mean how to get a value from a form field???

Author Comment

ID: 1268994
I don't need an answer anymore, but thanks for trying.

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

715 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question