Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

expand to fit to smaller size - "collapse to fit"

Avatar

30-07-2008

I use expand to fit to let a field grow with the text when I leave it. In my form design the fields have an initial height of 3 lines for instance. Now I also want that the field is getting smaller when not so much text is in when I leave it. What I need something like "collapse to fit".



Is there a chance to do that by scripting on the exit-event?

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

611 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

30-07-2008

There is no collapse to fit ....I would suggest only leaving one line and use expand to fit (to handle more than one line).