Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

String Field auto adjust height

ican
Tera Contributor

Use Case:

I have a string field with a max length of 200.

I want to display it as a normal string field and adjust automatically the height and width depending on the input.

 

Thanks.

1 ACCEPTED SOLUTION

Slava Savitsky
Giga Sage

According to the product documentation, "for 255 characters or less, the string field is a single-line text field. Anything 256 characters or over appears as a multi-line text box."

View solution in original post

2 REPLIES 2

Slava Savitsky
Giga Sage

According to the product documentation, "for 255 characters or less, the string field is a single-line text field. Anything 256 characters or over appears as a multi-line text box."

Sandeep Rajput
Tera Patron
Tera Patron

@ican Where are you going to adjust the height on a backend form or on a widget in Service Portal. If it is a field on a widget in service portal than this could be achieved easily else if it is backend form then it is not possible to adjust the height dynamically based on the input.