Highlight and delete Fields?
Posted: Sat Nov 11, 2006 10:27 pm
Hi
I adde a Field in a test richview with InsertStringTag.
I have a button that on click, fills in that field (e.g. field 'name' changes to
'Jane Doe'.
Now, I highlighted the field (which shows as a regular test) and Cut it (or press Delete). It disappears. BUT if I press that button it still inserts 'Jane Doe' where the field was. What is the easiest way to delete the 'appaearance' of the field, and the field iself as well, so that If I press that button again, 'Jan Doe' will not be inserted in the editor?
Thanks.
I adde a Field in a test richview with InsertStringTag.
I have a button that on click, fills in that field (e.g. field 'name' changes to
'Jane Doe'.
Now, I highlighted the field (which shows as a regular test) and Cut it (or press Delete). It disappears. BUT if I press that button it still inserts 'Jane Doe' where the field was. What is the easiest way to delete the 'appaearance' of the field, and the field iself as well, so that If I press that button again, 'Jan Doe' will not be inserted in the editor?
Thanks.