HighDots Forums  

How do I make form or table where certain numbers updateaccording to a formula when the user enters one number?

Macromedia Dreamweaver Macromedia Dreamweaver Discussions (macromedia.dreamweaver)


Discuss How do I make form or table where certain numbers updateaccording to a formula when the user enters one number? in the Macromedia Dreamweaver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
303nick303
 
Posts: n/a

Default How do I make form or table where certain numbers updateaccording to a formula when the user enters one number? - 03-28-2009 , 07:26 PM






Hi, I am an amature website designer and have made a website using dreamweaver.
I am very lost when it comes to doing tougher things in dreamweaver. I want
to create a small form or a table where there will be 7 or so numbers that are
generated based on simple formulas for each one once you enter one number. Can
someone please help me with this task whether it is in dreamweaver or even
making it out of flash or anyway that this would be the easiest to make
possible. Thanks


Reply With Quote
  #2  
Old   
Nancy O
 
Posts: n/a

Default Re: How do I make form or table where certain numbers update according to a formula when the user enters one number? - 03-29-2009 , 06:26 PM






What are you trying to build? If it's somewhat generic like a mortgage
calculator, you could search for pre-built scripts. Find out which
server-side programming languages your server supports first. Then have a
look at the following resources.

www.Dynamicdrive.com (JavaScripts)

www.Hotscripts.com (php, asp, jsp, etc...)


--
Nancy O.
Alt-Web Design & Publishing
Web | Graphics | Print | Media Specialists
www.alt-web.com/
www.twitter.com/altweb/
www.alt-web.blogspot.com/






Reply With Quote
  #3  
Old   
303nick303
 
Posts: n/a

Default Re: How do I make form or table where certain numbersupdate according to a formula when the user enters one number? - 03-30-2009 , 04:35 PM



It is for a plaster moulding company. There is one section where I want to
have a type of column with certain dimensions that will automatically adjust
according to the height of the room entered by a user.


Reply With Quote
  #4  
Old   
GarryCT
 
Posts: n/a

Default Re: How do I make form or table where certain numbersupdate according to a formula when the user enters one number? - 03-30-2009 , 04:47 PM



To oversimplify... Basically, you would create a form with the fields you want
the user to enter as well as a Submit button. There is a field on the form
tag, action. This executes the script to do the calculations. You could
alternatively use Javascript of if you assign a script function to the onsubmit
attribute, which will call the script when the user presses submit.

Thats the basics. You just need to know a bit of javascript and how to access
the form's fields through the browser or document object model.


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



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.