Confirmation Form Question (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


steveg -> Confirmation Form Question (9/15/2009 9:25:50)

I have a form on which people can indicate portions of food that they would like. The food has a per portion price.

Is it possible to use the Confirmation Fields on the confirmation page to multiply by a fixed price? Is it possible to get the calculation to happen on the input form? Which would be the best/easiest way to go or is there a completely different way that I had not considered?

Steve




TexasWebDevelopers -> RE: Confirmation Form Question (9/15/2009 10:02:26)

You can use javascript (view source: http://www.texaswebdevelopers.com/examples/javaorderform.htm) but it's not secure for ordering.
You can use ASP or .NET or even do the calculations in the SQL statement...it really depends on wht you are trying to do. If this is a shopping cart then I suggest you don't reinvent the wheel but purchase a shopping cart program instead (there are even a few good open-source carts and many hosting companies now provide carts at a reduced monthly fee).




steveg -> RE: Confirmation Form Question (9/15/2009 10:09:28)

Actually, the form you have looks pretty good. This is not a real shopping cart system. This started out as half a dozen items that could be ordered by people and the form would then email to the guy taking care of the orders. Then he said as we have a per portion price, can we just calculate the quantities multiplied by the portion cost and then give a total.

There is no online payment it is purely informational and notifies the guy that another order has been placed and what it is.

Does your example allow for emailing the results?

Steve




TexasWebDevelopers -> RE: Confirmation Form Question (9/15/2009 12:49:45)

Sure--you would just pass the form fields to a CDOSYS or
CDONTS email bit....(depending on the Mocrosoft server you are on). On Linux you could send it to another client to sent the email.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625