Is it possible to add a line feed conditionally to text box?

  • Profile Image
    Asked on January 25, 2016 at 11:57 AM


    Is it possible to set a condition that adds a line feed to a text box entry. (ie \n)




  • Profile Image
    Answered on January 25, 2016 at 03:08 PM

    Unfortunately no.

    There are 2 issues here actually - textbox is a HTML field that is intended for a single line only - it should not have additional lines within it.

    To use multiple lines in a text, you need TextArea field instead.

    If you can give us more details in regards to the condition mark that you would place that should add the new line, we might be able to assist with the same on TextArea, but in general conditions are not the best way to add new lines, cause they could add multiple new lines instead of a single.

    Having all that said, once we know more we can give you a more precise answer.