Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
search form id or class
It’s been mentioned before and I wondered if it is being included in 4.0.7?
So that putting <search_input id=“search” /> will yield <form id=“search” method=“get” etc >
It would make this awkward element easier to style and would give an exact landing place for the accessibility div’s go_search without having to wrap the form in a div, or p etc.
Offline
Re: search form id or class
The <txp:search_input />
isn’t even helpful tag nor customizable. You could just hand write the search form with out that tag, and the output is exatly same plus probably faster.
Better way would add tags for search form’s elements, but it’s just waste of code too, as it still would output the same old code, and would still require some brainz how to add labels etc.
Maybe the whole <txp:search_input />
could be deprecated, and instead core example form called search_form
and <txp:output_form form="search_form" />
in the template.
Offline