Thread: Pre Populatated Fields
Results 1 to 2 of 2
Related
-
Mandatory fields form Forum: HTML Forum
Replies: 0 -
Required Form Fields Forum: Javascript Forum
Replies: 1 -
The sum of two fields Forum: Website Scripts Forum
Replies: 4 -
Dynamic form fields Forum: Website Scripts Forum
Replies: 1 -
The sum of two fields Forum: HTML Forum
Replies: 1
-
08-06-2002, 10:13 AM #1
Pre Populatated Fields
I am building website to sell books. When the customer click on the Buy now button on a certain book (ie Spiderman) I want to direct that buyer to a form that I have built. But I want the form to automatically populate the name of the book or image that the customer clicked on. Can you help me with the coding?
-
08-06-2002, 12:18 PM #2
Hi there. Welcome to the forums!
If you need to transfer data from one page to another, you have quite a few options. However, overall, you will probably need to learn a 'server-side language' to process the details.
These include PHP, ASP, Perl/CGI and Jscript. I would recommend php ( www.php.net ) as it is easy to learn.
An example piece of code, using php -
PHP Code:<input type="text" name="ChosenItem" value="<? echo $_QUERY['iChoose']; ?>">
http://www.quietdean.com/form.php?iChoose=Bathroom&Name=Dean
Hope that helps.If one of our members helps you, please click theicon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?