-
1. Re: I have set text size to Auto but it starts too small
MichaelN Sep 1, 2013 6:01 PM (in response to grape jan)Is it possible to make the text field bigger?
-
2. Re: I have set text size to Auto but it starts too small
grape jan Sep 2, 2013 10:39 AM (in response to MichaelN)as I mentioned, this one field is a block for multi-line paragraghs. It's one, large text block, taking up the bottom half of the form, so that users can input multiple paragraphs of text (they're telling their story). Some people will write a lot, some less. That's why I set it to Auto, so that the shorter stories would be in larger text, but longer stories will still shrink to fit.
It works, but I want to know if their is a way to get the text to start out at a larger font size before auto-sizing-to-fit. I mean, Something is telling the font to start at 12 point...
Should I attach the form to this discussion? (How do I do that?)
-
3. Re: I have set text size to Auto but it starts too small
MichaelN Sep 2, 2013 7:00 PM (in response to grape jan)I don't think there is a scripting solution to your question.
One idea is to compromise and set the text point size to a size that is comfortable to read, say 12pt or 14pt and leave it at that, instead of Auto.
As you have discovered, the problem with Auto is that if a person does write a lot, the point size will shrink so that it is too hard to read.
-
4. Re: I have set text size to Auto but it starts too small
try67 Sep 3, 2013 1:08 AM (in response to MichaelN)Actually, it is possible to some extent. You could use a custom keystroke (or validation) script to change the font size based on the length of the text in the field. So you could set it so that if there are less than X characters, the font size is 16, and if there are more, it is Auto.
-
5. Re: I have set text size to Auto but it starts too small
grape jan Sep 3, 2013 8:31 AM (in response to try67)that sounds like a plan.
if only I knew how to write scripts...
-
6. Re: I have set text size to Auto but it starts too small
MichaelN Sep 5, 2013 6:53 PM (in response to grape jan)Thanks Gilad D for the suggestion.
grape jan, try this as the Custom Keystroke script for the text field:
var a = event.value.length;
if ((a < 10) || (a =="")){ //If character count is less 10 or the field is empty
getField("myTextField").textSize = 16; //Set text size to 16
}
else getField("myTextField").textSize = 0; //Otherwise set text size to Auto
Replace "myTextField" with the name of the field in your form.



