D
D
Darklt2022-04-20 22:15:55
1C-Bitrix
Darklt, 2022-04-20 22:15:55

Where in Bitrix are the names of the errors in the forms?

I assigned the following values ​​to the string in my web form template:

<input type="number" minlength="20" maxlength="20" data-sid="name" name="form_text_999" value="" required aria-invalid="false">

But in the error it writes either At least 6 characters, and if more than 20, then Please enter no more than 20 characters, dug everywhere, and did not find where to change these inscriptions.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
O
Olga, 2022-04-21
@Liatano

To search for phrases, you can use putty (you need ssh access) and recursive file search

find ./ -type f -name "*.php" -exec grep -i -H "STRING"  {} \;

This will most likely be a system file, you can override it following the documentation
https://dev.1c-bitrix.ru/learning/course/index.php...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question