K
K
Kostya2020-11-03 16:11:47
1C-Bitrix
Kostya, 2020-11-03 16:11:47

How to increase the number of characters entered in Bitrix search?

Hello. The standard Bitrix search allows you to enter a query no longer than 50 characters, how to remove this restriction? I mean search on the main page.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexey Emelyanov, 2020-11-03
@babarun

In the component template, search.formincrease the value inmaxlength

<input type="text" name="q" value="" size="15" maxlength="50" />

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question