My Board - Donation Page
However, when you add anything 10+ it gives an error. Can anybody figure out why its doing this? The problem seems to be that its only reading the first digit, so if you have anything from 10 to 49 it will give an error, but when you get to 50 its fine again.
function validate_form ( )
valid = true;
if ( document.donation_form.amount.value < "5" )
alert ( "Please enter a minimum of 5 USD." );
valid = false;