One of our templates require different formatting requirements based on text wrapping....the textField being populated from XML using Schema we need to determine this status at the time of rendering the form. Is there a way to find out if the text in a given TextField is wrapped or not?
Thanks in Advance,
Solved! Go to Solution.
Views
Replies
Total Likes
Hi,
You can use the h method of the layout object to test an objects height, something like;
xfa.layout.h(TextField1,"in")
So if your field expands to fit then you can test to see if it has expanded. You would have to call this once your form is rendered ... maybe in the layout:ready event.
Regards
Bruce
Views
Replies
Total Likes
Hi,
You can use the h method of the layout object to test an objects height, something like;
xfa.layout.h(TextField1,"in")
So if your field expands to fit then you can test to see if it has expanded. You would have to call this once your form is rendered ... maybe in the layout:ready event.
Regards
Bruce
Views
Replies
Total Likes
Thank you for your suggestion...I resolved my issue with additional tricks using your suggestion as center piece of code.
Views
Replies
Total Likes
Views
Likes
Replies