PDA

View Full Version : Help me with forms please!


CloudSlash
04-29-2003, 12:58 AM
I could not find any other forum for html, so i decided to ask in this one. I need to knwo how to do two things with forms.

First of all i want to make it so that when i push submit on my form, instead of having the action set to email it to me, post the results in a text document on the server.

Secondly i want to know if there is a way to add a little thing into the bottom of the form that adds up values you have specified as each checkbox or radio button is clicked on. Example: Grahpics cost $10, when you click on the graphic check box, a 10 will appear in the box at teh bottom fo the form. I have no idea if this is possible.

DeMuro1
04-29-2003, 02:22 PM
not unless you're running your form as a type of applet or application. Maybe javascript. As far as php I don't think it can do that


as for your first request....I just asked the same question a bit ago. This (https://vborg.vbsupport.ru/showthread.php?s=&threadid=51774) thread already has a php document that Black Vivi wrote for me that does that exact thing.

mr e
04-29-2003, 05:46 PM
the second would only be possible if you added it up AFTER you clicked the submit button, that's with php, with javascript i dont think it would be too hard

Black Vivi
05-02-2003, 09:32 PM
if you PM me the html form i can make it show the amount of money it costs, and make it save it to a text file