If the user disables the css in their browser all of your form fields will become available to them even though you might want them to be unusable until later. So you would make the ones you didn't want to be used disabled with
Code:
<input type="text" disabled="disabled" />
That will make the input boxes or whatever other from elements unusable until you change the disabled attribute to false. Then if you create a function out of the script I gave you it will cycle through all of the form elements in the specified form and hide the disabled form fields.ex:
Code:
<script type="text/javascript">
function hideButtons(el){
if(el.disabled == 'disabled')
el.display='none';
}else{
el.display = 'block';
}
}
// this section will loop through all of your forms and hide the elements
// that are initially set to disabled
function check_forms(){
var form = document.forms[0];
for(i=0; i<form.elements.length;i++){
hideButtons(form.elements[i]);
}
}
</script>
</head>
<body onload="check_forms();">
Then once your form elements need to become avaliable you run your script to enable them and run this function again and they should become visible.