i assume that you mean disable to type in textarea
<textarea disabled></textarea>
or if you want that textarea if disabled only when other field is not filled (i think it's onfocus)
<script>
function checkField()
{
if(document.formName.fillFirst.lenght == 0)
{
alert("fill fillFirst field first 🙂)");
document.formName.fillFirst.focus();
}
else
{
return true;
}
}
</script>
<form>
<input type="text" name="fillFirst">
<textarea onfocus="return checkField();">