473,324 Members | 2,541 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Custom pricing form

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

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">
</font></td>

Its driving us crazy. Does anyone know a fix? Or a better way to
design the page?
Jun 27 '08 #1
1 1269
Message-ID:
<7c**********************************@d1g2000hsg.g ooglegroups.comfrom
Ditto contained the following:
>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">
</font></td>

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

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.
--
Regards,

Geoff Berrow
Jun 27 '08 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Jackson | last post by:
I have been using a Lotus Approach built application to control database for stock control, reference, pricing and reports. This has been fine until now since I was the only one using the database....
33
by: news.microsoft.com | last post by:
To Microsoft and fellow MSDN Universal subscribers... Regarding new MSDN Universal (I mean Premier) price and level changes: 1) Way too expensive for the small and medium developer Universal...
31
by: Anns via AccessMonster.com | last post by:
What does a typical Ms Access w/ native jet engine "no splitting" "only for 5 users" usually go for? Request: Inventory db w/ 8 user friendly forms & 8 reports. Nothing fancy, I realize the...
27
by: Keith Wilby | last post by:
I've been trying to get my head around custom classes by following the example in the Visual Basic Language Developer's Handbook by Sybex. I think I have a handle on what they're about, albeit a...
15
by: rizwanahmed24 | last post by:
Hello i have made a custom control. i have placed a panel on it. I want this panel to behave just like the normal panel. The problem i was having is that the panel on my custom control doesnt...
1
by: systemzq | last post by:
Hi all, I am new to mainframes and am doing some research to look for security solutions for our mainframe environment. I appreciate any responses that will help me out. I have a few questions,...
2
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.