1b.app
Link copied -

Limitation on the number of characters in an additional text type field

Good day!
The functionality of limiting the number of characters in additional fields of the text or html text type is required.
Is there such functionality now? Could not find settings.
Are there other solutions to this issue?
Please evaluate the completion of the necessary functionality if there is none.
Original question is available on version: ua

Answers:

Hello.

Use regular expressions to check, write the expression in the field "PREG expression to check the value of the field"
28.06.2023, 12:53
Original comment available on version: ru

It's great to have this functionality. Tell me, please, which regular expression must be set so that it checks for 1100 characters? That is, so that there are no more characters in the field.
We tried to use the example you provided in this way /^.{1100}$/. But it started to block the filling of the field altogether.
Maybe there is an instruction on how to use regular expressions?
29.06.2023, 12:08
Original comment available on version: ua

Use this expression /^.{1,1100}$/
02.07.2023, 12:37
Original comment available on version: ua


Andriy wrote:
Use this expression /^.{1,1100}$/

You can resolve your issue with this suggested solution.
Unfortunately, there will be no other adequate solutions.
06.07.2023, 17:27
Original comment available on version: ua

Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter. Log in and comment