Return Calculation from User Supplied Data

R

rmarb

What is the easiest way to return a value to a web page based on user supplied data? (I am building a child support estimator that will need run some basic calculations based on the user's input, that will be returned to the screen).
 
J

Jim Buyens

-----Original Message-----
What is the easiest way to return a value to a web page
based on user supplied data? (I am building a child
support estimator that will need run some basic
calculations based on the user's input, that will be
returned to the screen).

If the calculations are simple, you can change the form's
Submit button to an ordinary pushbutton, add an onclick=
attribute that runs a JavaScript function, and have the
JavaScript function compute the value of one or more text
boxes you provide for displaying the answer(s).

If, however,
o The calculations are more complicated, or
o You need access to server-side resources such as
databases, or
o You want to keep the calculation formulas secret, or
o You want to keep a history of calculations submitted.
then you should investigate server-side programming
environments such as ASP, ASP.NET, PHP, or whatever your
Web server supports.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
M

MD WebsUnlimited.com

Hi,

You may wish to take a look at our Form Calculator product at:
http://www.websunlimited.com/order/Product/FormCalc/formcalc.htm
--
Mike -- FrontPage MVP '97-'02
http://www.websunlimited.com
Need to perform calculations on values within your forms? Take a look at
Form Calculator
http://www.websunlimited.com/order/Product/FormCalc/formcalc.htm
FrontPage Add-ins Since '97 2003 / 2002 / 2000 Compatible



rmarb said:
What is the easiest way to return a value to a web page based on user
supplied data? (I am building a child support estimator that will need run
some basic calculations based on the user's input, that will be returned to
the screen).
 
Top