Getting Started

How to limit words or characters in a text field

Author
Prashant Bari
1 min read Share

The limited number of characters or words that will be accepted as input field

1) Word limit:

a) Open SU and click on form field details and select module also form

b) Click on field and put function JS:limitText(15716,50,'W')

     1) 15716: Field ID

     2) 50: Limit count for word

     3) W: Word

c) Save function and also Save Form

 

 

2) Character limit :

a) Open SU and click on form field details and select module also form

b) Click on field and put function JS:limitText(15716,50,'C')

     1) 15716: Field ID

     2) 50: Limit count for character

     3) C: character

c) Save function and also Save Form

 

 

 


Related Articles


View all articles