Dynamic Character Limit

I’m building an app where the users have to setup essay inputs with variable limited amounts of characters. However the element does not allow setting a dynamic max character limit:

So I cannot implement the validation of the input based on the settings of the essay.

Could we not have the ability to add a variable here please?

I see this is already on the idea board: Bubble | Build Powerful Full-Stack Apps Without Code

Hi @data1 ,
You can do this dynamically using JS like following


As You see you have to make the following steps :
1- expose id for input element (as you see textarea )
2- run this code with a dynamic value as you want from any data source (states, database … )
Hope this will help you.

4 Likes