PDA

View Full Version : tickboxes with 'required' are not working


Darfield
20-Dec-2004, 10:32 AM
my tickboxes with 'required' are not working if you do not tick you are possible to go futher, any one who can help me with that?

DaveT
20-Dec-2004, 11:04 AM
Which ones are those? In Design prompts, make sure they have the required field ticked.

Otheriwse, as an alternative:

I usually attach javascript validation to my T&C's: In Act_Order01.html:

<input.....NETQUOTEVAR:NEXTBUTTON" onclick="return check()">


<script>
function check() {

if (document.forms[0].INVOICEPRIVACY.checked == false) {
alert('Fill in the form properly!');
return false;
}
</script>

Hope this helps. I used INVOICEPRIVACY as an example, you could use other checkbox values.