You are viewing limited content. For full access, please sign in.

Question

Question

Auto-Sizing Custom HTML Field

asked on October 24, 2017

I have a Collection that is populated by a db lookup. I am trying to figure out how to use a Custom HTML field that auto-sizes depending on how much text is added.

I was trying to work out how to use the JavaScript from this post...

https://answers.laserfiche.com/questions/77292/How-can-list-content-of-DB-column-in-Forms#77500

but their requirements are slightly different. That meant that the JavaScript wasn't what I needed. 

All I want, is the text that is in a Multiline field to be copied in to an auto-sizing Custom HTML field. This way, when the text is only a few words, it will only take up one line. But if the text is much larger in length, then the field adjusts accordingly.

 

 

 

0 0

Replies

replied on October 25, 2017

Would a solution similar to this be what you're looking for ? https://codepen.io/vsync/pen/frudD

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.