cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict backoffice field length

0 Kudos

Hi,

I would like to restrict the length of user input for a backoffice field. Is there a way to do this other than using a ValidateInterceptor / Jalo class?

I would like the user to be restricted to only enter 3 characters for a field (code). HTML equivalent below:

Pradeep

0 Kudos

input type="text" name="code" maxlength="3"

View Entire Topic
former_member625836
Active Contributor
0 Kudos

Hi,

There is no simple way to achieve exactly what you want. Yet you may always do one of below:

  • extend Default Text Editor, introduce such functionality and use it for code attribute

  • use validation interceptor

  • use built in Backoffice validation mechanism (please see this document and all subsequent documents for details)

Cheers, Jacek