Posted: 24 Jan 2019 6:05 EST Last activity: 25 Jan 2019 2:16 EST
Implement a Character Count for TextArea based on Value from a Dropdown.
I have a requirement where a TextArea Property should show character count. Its Max characters should be 1000 characters when a single value say "X" from dropdown is selected and it should be 250 characters when any value other than "X" is selected.
TextArea property should show a character count and it mandatory field.
Please suggest a solution or best possible approach to achieve this functionality. Thanks in advance.
OOTB Textarea has min and max character limit. If you want to dictate whether it should hold 250 characters or 1000 characters depending on some dropdown, then have 2 text area fields (one for 250 and another for 1000) and show the relevant one based on the condition dictated by the drop down.