I want to have a form open with a few lines of editable text appear automatically in a text field. Is this possible?
Views
Replies
Total Likes
Yes it is, but that's not a trival thing.
Read this post by John Brinkman.
There you can find all you need.
http://blogs.adobe.com/formfeed/2010/09/editable-floating-fields-v3.html
Views
Replies
Total Likes
My understanding of the OP's question was that he just wants to pre-populate a multiline text field with some data when the form opens.
@usuggestaname - is that what you wanted to know? If yes, that's possible in a few different ways, can you specify your use case a bit further.
Views
Replies
Total Likes
Hmm,
when I read the question again and again, you might be right.
My foreign language knowledge sometimes plays a trick on me.
Views
Replies
Total Likes
Yes, that's what I want to do - when the form opens, I would like to have 2-3 lines of editable text appear in one of the text fields.
Views
Replies
Total Likes
You can use a script in the layoutReady:event of your text field to add a default text to it if it is empty.
if (this.rawValue == null)
{
this.rawValue = "Your Text";
}
else
{
this.rawValue;
}
Or you simply add the default text into the field in Designer (Object palette > Value)
Views
Replies
Total Likes
Views
Likes
Replies