Newbie, please help with paypal code

Discussion in 'HTML & Website Design' started by Dee2007, Aug 21, 2007.

  1. #1
    Hi all :) , I have an options field in my paypal code where people need to select a colour, currently it is not being treated as mandatory and if people miss it out it comes through with that part blank. I need to make that field mandatory.

    Here is that part of the code. I believe you need to use javascript, but I don't know how.

    Any help would be very much appreciated, I have posted on other forums and have had no replies :(


    Dee



    <INPUT type=hidden value="Colour " name=on0>
    (**REQUIRED**) Please enter colour
    </TD>
    <TD>
    <SELECT name=os0>
    <OPTION value="none selected" selected>
    Please select a colour
    </OPTION>
    <OPTION value="Black">
    Black
    </OPTION>
    <OPTION value="Green">
    Green
    </OPTION>
    </SELECT>
    </TD>
    </TR>
    </TBODY>
    </TABLE>
    <BR>
    <INPUT type=image alt="Make payments with PayPal - it's fast, free and secure!" src="https://www.paypal.com/images/x-click-but23.gif" border=0 name=submit3>
     
    Dee2007, Aug 21, 2007 IP