Create a basic math form

Asked by:
livnbaby2 / 5 Points
Time:
2012-04-17 4:50 pm EST
Category:
How To
Hits:
1,557
<div>I am trying to create and web application that takes in information through drop down boxes, and performs simple math dependent on the users choice from the drop down.</div>

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ChristiNi
Staff
13,688 Points
2012-04-17 5:30 pm EST
Hello livnbaby2,

Great question! JavaScript would be a great solution for this type of form. While checking into this for you, I see that you already have some JavaScript on your site (for your banner) so it looks like you are at least familiar with JavaScript. You can use JavaScript to create the type of form you are looking for, but of course there will be a bit of a learning curve as you will want to become a little more familiar with JavaScript.

I found some resources online which provide more information on JavaScript as well as code examples for various forms:

JavaScript Examples - The general use order form and Interactive JavaScript forms would be good starting points.

JavaScript Source is a resource that includes code examples.

JavaScript information and tutorials

Finally, this is a great way to test and edit code in an online editor:

jsFiddle. Here's an example from that site with JavaScript code similar to what you're looking for: Price Calculator.

Please let us know if you have any additional questions or need further assistance.

Regards,

Christi N.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}