Graphics

 View Only
  • 1.  limit character count in text field?

    Posted 02-28-2014 20:37
    Is there a way to set a limit on the number of characters in a text field?

    I know there is a way to set the width, then the text will squish but not go wider than the set limit. However I would still like to limit the number of characters, so that we don't end up with really squeezed text.

    Thanks!

    Lorraine


  • 2.  RE: limit character count in text field?

    Posted 03-02-2014 09:45
    You can do a script, in the OnSetText of your textobject like :

    Text = Text.substring(0, X)

    Where X is your limit.

    #XPression


  • 3.  RE: limit character count in text field?

    Posted 03-03-2014 19:31
    Thanks, that will come in handy. I wonder if that will limit how many characters that a person can type into the MOS plugin in the newsroom software.

    #XPression


  • 4.  RE: limit character count in text field?

    Posted 03-03-2014 19:39
    It won't prevent you from typing more characters than the limit, but it will prevent them from showing up in the graphic.

    It will simply truncate your string.

    #XPression


  • 5.  RE: limit character count in text field?

    Posted 03-06-2014 18:37
    It would be best if there were a way to limit the number of characters when the person is typing it in the MOS plugin, rather than truncate it without their knowledge, once it gets to Xpression. Then they can make the choice to abbreviate words to make it fit within the field.

    #XPression