Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.


Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Extending Search Form


3 Posts   1393 Views


21 November 2008 at 6:41pm Community Member, 12 Posts

Please refer to the attachment (screenshot).

How can I remove the <fieldset> tag in the search form? Earlier it used to render with only the input box and the button but now (2.2.3) there is a fieldset element wrapping the controls making my skin so very ugly.



21 November 2008 at 10:26pm Community Member, 12 Posts

I figured it out. Thought others would like to know.

Make a on your templates folder and remove what ever you don't want it to have. So mine (<theme name>/templates/ is the following.

<form $FormAttributes>
      <% control Fields %>
      <% end_control %>
      <% control Actions %>
      <% end_control %>


24 November 2008 at 6:20pm Forum Moderator, 5511 Posts

That border / label is called a legend tag. It is there I believe so the form pass's WCAG validation. Another way to remove it without added another template is to just do #FormIDWhatever legend { display: none; }