I saw that collapsible text boxes is due to be released but I have the opposite requirement - I want a text box which is linked to a text field in a dataset to stay the same size - not resize depending on the amount of text.
Thanks for replying
I did set the container height to be bigger than the existing max size of text which solved my problem for the moment but the dataset text field is updated/created by an end-user & there is no max no of words defined nor can there be. So the problem may well occur at a later date?
I guess a long-winded solution (workaround?) would be to read the text dataset field into an intermediate variable or array & count the number of characters & only display the text up to the limit of whatever size text box I design. Maybe use some vertical scroll or more/less coding?
Just to explain the context - this repeater is to display the short description of each of 11 modules in each of 2 courses. Each module dataset contents will be maintained by an end-user.
The above coding idea of an intermediate array takes away from the simplicity of a repeater being filled directly from a dataset & being able to have a “More Info” button which links to a lightbox showing all information for that module
@workiapps You’re right, but the JS substr method got deprecated and might not work on some new browser versions, so you should use the substring method instead.