-----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)
|/---------------------------------------------------
*----------------------------------------------------