| free hosting image hosting hosting reseller online album e-shop famous people | ||
![]() ![]() |
||
NOTE:This does not allow for credit card validation or payment processing.
For that, you need a secure server with payment collection facilities, such as Secpay.
Now paste this code in the body of your page:
The Product, Colour and Quantity boxes all have the name box, and are accessed by their index.the value of the radio button - myvalue
the index of the associated text box - whichbox
<input type="radio" name="item"The function then simply writes the value of the radio button to its associated text box:
onclick="check(this.value,0)" value="Belt">
document.dataForm.box[whichbox].value=myvaluewhere:
Similarly, if the Green radio button is clicked, its value is written to the second text box called "box", whose index is 1:document is the page itself
dataForm is the order form
box[whichbox] is the associated text box and its index
value is the contents of the text box
myvalue is the value to be written
<input type="radio" name="colour"This illustrates the importance of naming each form element.
onclick="check(this.value,1)" value="Green">