Data attributes for the input field of the search form

Hello, everyone!

To customize the search form there is a lack of adding attributes for the input field. In my case, it is necessary for plugins with Live Ajax Search function to work. For example, for the Relevanssi plugin Relevanssi Live Ajax Search | Relevanssi

It needs the attribute data-rlvlive=“true” to work properly. And some others, if you need additional options.

Experienced this too, that Relevanssi Ajax Live Search doesn‘t work with Bricks search element.

Is there any way to get it running?

Why not use their search form shortcode?

Thanks … didn’t think of that indeed …

But of course would be even nicer if Bricks search form would integrate natively!

Additional attributes in the form settings are added to the additional input hidden tag. And you need to add them to the input search.

The code also looks like name=“data-rlvlive” value=“true”, and for proper operation you need data-rlvlive=“true”.



You can use it, but then you will have to configure all the form styles manually :roll_eyes: