Hello,
I am looking to have text in a text box by default. When this document opens it automatically has text already in the box without having to press a button however if I press a button I would also like that text to be removed. Basically its a macro which this provider uses in every document they dictate and instead of having to dictate the macro every time, why not have it already there. However, if they choose to remove it, it would be nice if it were just a button click to remove. Though obviously they can also just highlight it and delete.
Would this also be able to be done with checkboxes?
thoughts?
Scott,
You could try this:
Create a document variable that you hide with a visibility region set to false. (In my example below it is document.textflag) Add a watcher to push your default text into the document variable or obs term that your want your provider's text to go into (below it is 'document.text'. For example:
{!
if (document.textflag == "") then
document.text = "This is my boilerplate text that loads with the form."
document.textflag = "x"
else
""
endif
}
This should only load once since the document variable 'textflag' should prevent it. Then I would just add a button to clear the field with the boilerplate text in it. That is easy to setup. Just do 'Set Values' on the button and set the field to 'Clear'.
Brad