calculation form-is there such a thing? (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


woofer341 -> calculation form-is there such a thing? (3/7/2005 15:51:44)

I am setting up a website using FrontPage 2003. We will be selling all types of flooring. I need to have a form that will allow a customer to enter a number (i.e. the square footage of a room) and have the form divide the room square footage (what the customer entered) by the square footage of the carton size, which will be a set amount, then take that number and round it up to the next whole number. Example: 350 square foot (room size) divided by 32 (square feet in the carton of hardwood) which equals 10.9375. Then have it rounded up to the next whole number which is of course, 11. And I need to have it display the end result in a text box next to the one they entered the room square footage in. I am not a programmer, I only have a basic knowledge of FrontPage 2003. Is there an add-in program to do that, or would a custom routine have to be written. The forms available in FrontPage don't seem to allow such a thing. Does anyone have any ideas?
Jeff




dpf -> RE: calculation form-is there such a thing? (3/7/2005 16:38:34)

its a fairly simple javascript routine..look at www.hotscripts.com or google for javascript. someone here will help you adapt if yo find something close.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
6.201172E-02