Thread: Pre Populatated Fields
Results 1 to 2 of 2
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 -
<input type="text" name="ChosenItem" value="<? echo $_QUERY['iChoose']; ?>">
Hope that helps.If one of our members helps you, please click the icon to add to their reputation!
No support via email or private message - use the forums!
Before you ask, have you Searched?