Thread: Form help.
Results 1 to 9 of 9
required form fields in php page using redirect.php form Forum: PHP ForumReplies: 1
Problem with form in IE6 - empty space at end of form Forum: HTML ForumReplies: 1
Want to have data in form appear elsewhere in same form Forum: HTML ForumReplies: 3
09-27-2003, 12:19 PM #1
Hi guys I'm new to this forum, it's good. Anyway I am not new to HTML but I am to forms. What I want is a form that will do two things... I need this to happen... I need after they make their choices on parts (this is for custom computers) for when they hit Buy Now! I wantan e-mail to be sent to me with their choices and the price. The second thing I want to happen is them to go to a buy page from paypal so the submit button is actually a buy button from paypal. One last thing is I want the price to go up when they pick a part..or down I want the price to acually changeat the bottom. Help would be greatly appreciated.
09-27-2003, 01:05 PM #2
Hiya, welcome to the forums.
For the email form you can use any server-side langauge to send the email to yourself. I recommend PHP as its the easiest to learn and opensource. Learn more about PHP here - http://www.php.net/
What your planning is a reasonably ambitious project, best to give yourself a good grounding in the above disciplines before getting going.
09-27-2003, 01:09 PM #3
Ok the on thing is though that with a paypal button it is one set price. How can I get the button or what they pay to change with what they pick?
09-27-2003, 02:04 PM #4
The paypal button is basically a form.
this input device sets the price -
<input type="hidden" name="amount" value="12.99">
09-27-2003, 02:42 PM #5
I don't quite get that could you please elaborate? Well acually is that supposed to be the item they pick then with all the added things it dispays them all added up at the botttom?
Last edited by Coop; 09-27-2003 at 02:46 PM.
09-27-2003, 02:54 PM #6
Well, using php you can track what they wish to purchase, and add it all up. Once thats added up, php can actually write the correct html for the total price.
that way, the button always has the correct value.
09-27-2003, 02:58 PM #7
Ok. I think,
One last thing can I have text at the bottom that changes so they know the price? Also do you have some samplecode that would make one radio button to do these things pleasE?
09-27-2003, 04:01 PM #8
Yes, you can have text that changes / displays the total so far. Easily done with php or js.
I do not know any sample code, but have a look at www.hotscripts.com
04-18-2004, 01:28 AM #9
wow thats weird. when i registered i tried to get the name coop. i needed to ask a Q about forms.. and here i find Coop asking a similar question as me. i though it coulda been me a while ago that i forgot about. good times..