Hi all,
Please beware my javascript abilities are next to none.
I have a form, that the text box - txtDescription - may have a default value in it or not.
Then 4 or 5 checkbox's with different values.
I would like the value of the textbox be placed into the text area - added onto the default value when checked(and hopefully removed if unchecked) .
For example
And if they check say the top two checkboxes.
After checking the top two checkbox's - the text area would now show
Some default stuff here L/M Talked with family
any idea how to go about this?
Thank you
"Never underestimate the power of determination"
Stuart
Net+
Please beware my javascript abilities are next to none.
I have a form, that the text box - txtDescription - may have a default value in it or not.
Then 4 or 5 checkbox's with different values.
I would like the value of the textbox be placed into the text area - added onto the default value when checked(and hopefully removed if unchecked) .
For example
Code:
<textarea name="txtDescription" cols="42" rows="10" class="inputbox">Some default stuff here</textarea>
Code:
<input type="checkbox" name="txtCK1" value="L/M">L/M<br>
<input type="checkbox" name="txtCK2" value="Talked with family">T w/ Family <br>
<input type="checkbox" name="txtCK3" value="Talked with parents">T w/ Parents <br>
After checking the top two checkbox's - the text area would now show
Some default stuff here L/M Talked with family
any idea how to go about this?
Thank you
"Never underestimate the power of determination"
Stuart
Net+