Skip to main content
Solved

Using amount of characters as a condition


andreyrgerasimov

With advanced prototyping, is it possible to automatically change text size in a component depending on the amount of characters in the text box?

Best answer by Haroll

Hi @andreyrgerasimov

Unfortunately, it is not possible today to apply logic regarding the state of an element. In the logic of an interaction, we do not have access to the element information (like its length, width, and such) if it is not defined by a variable.

View original
This topic has been closed for comments

2 replies

Haroll
  • Active Member
  • 273 replies
  • Answer
  • August 1, 2023

Hi @andreyrgerasimov

Unfortunately, it is not possible today to apply logic regarding the state of an element. In the logic of an interaction, we do not have access to the element information (like its length, width, and such) if it is not defined by a variable.


  • 0 replies
  • August 4, 2023

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings