Validate form replace text textarea
<p>I have a validation form checker - 
when my checkbox has the value of 1 - i want to replace some text in the TextArea with new Text. Does anyone know the correct code to do this?</p>

<p>everything else in the form checker works, except this one.</p>

<pre><code>function validateForm(myForm){
if (getRadioSelected(myForm.myCheckBox) == 1) {
myForm.myTextArea.value.replace("Old Text","Replacement Text");
}
}
</code></pre>
