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

Limiting Dynamic Field expansion

Avatar

Avatar
Level 1
radugbhr
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
radugbhr
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile
radugbhr
Level 1

12-03-2015

This has been asked, but never answered.

Is there a way to limit a field set to "expand to fit" from expanding beyond a certain boundary?  Be it a subform, neighboring field, etc. that can be set with a respect this fields space script?  Point being, I don't want a field to expand its height so much that it overlaps a text field far below it.

View Entire Topic

Avatar

Avatar
Level 1
radugbhr
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile

Avatar
Level 1
radugbhr
Level 1

Likes

0 likes

Total Posts

17 posts

Correct Reply

0 solutions
View profile
radugbhr
Level 1

13-03-2015

You are correct.  This is in a table.  I set the table to expand its height to fit depending on what is typed into the text field #2 (it's a single column with 5 rows, a text field for each row).  Text field 2 is the only one set to expand to fit for it's height.  But I also have a static text box below it that I don't want the table overlapping.

Because of what the type of form is, I don't want to set the table's (or text field's) max height right from the get go, so that rules out an Initialize event.  Will the TextField2.maxH = "3in"; script work on a change event?