Hi Dudes
having a bit of a mare making checkbox's required. as bv has not got the option on the builder i take it, it requires javascript. when you publish a bv page it makes the script for you for text, combos, etc boxs in the form of a script like this.
this being, i edited the html page and added the script
But still no go, in the first checkbox i have a value of phpbb Insulation this so paypal know what it is. but i found the if i changed value =="") to value =="phpbb Insulation") the warning would work but because you can't wright text in to a checkbox i could not fill the field so that did not work.
My question is there a way to have the checkbox be required if so were am i going wrong. if no then DAMN. and thanks anyway.
One of the forms is Here
having a bit of a mare making checkbox's required. as bv has not got the option on the builder i take it, it requires javascript. when you publish a bv page it makes the script for you for text, combos, etc boxs in the form of a script like this.
HTML Code:
if (theForm.Editbox8.value == "")
{
alert("Please enter a value for the \"Email\" field.");
theForm.Editbox8.focus();
return false;
}
HTML Code:
if (theForm.Checkbox1.value == "")
{
alert("You have not checked the \"item name\" field.");
theForm.Checkbox1.focus();
return false;
}
My question is there a way to have the checkbox be required if so were am i going wrong. if no then DAMN. and thanks anyway.
One of the forms is Here


Comment