Custom pricing form

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View
We are a fine art printer, and have offered online estimates in the
past.  There are multiple variables, with size, materials, finishing,

We threw together a PHP form, and it was working for a while... then
we deleted a line, and can't get it to calcualte anymore.  nothing
happens when you click the calculate button.

<td colspan="2"><font face="Arial">
<input type="button" value="Calculate Print Price"
onClick="est(this.form)" name="button">

Its driving us crazy.  Does anyone know a fix?  Or a better way to
design the page?

Re: Custom pricing form

Ditto contained the following:

Quoted text here. Click to load it

That looks like it is calling a Javascript function which is client
side.  Nothing to do with server side PHP.  The actual function may be
in another part of the script or in another file. (the link to this file
may be the line you deleted)

Javascript is usually a good solution and produces an instant result
without a call to the server but should never be relied upon as it is
always possible for the user to turn it off.  You might be better off
supplementing the script with an additional server side version, written
in PHP.

It's a fairly simple job.

Geoff Berrow

Site Timeline