17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1156 Views |
-
Extending Search Form

21 November 2008 at 6:41pm
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.
Thanks.
-
Re: Extending Search Form

21 November 2008 at 10:26pm
I figured it out. Thought others would like to know.
Make a SearchForm.ss on your templates folder and remove what ever you don't want it to have. So mine (<theme name>/templates/SearchForm.ss) is the following.
<form $FormAttributes>
<% control Fields %>
$FieldHolder
<% end_control %>
<% control Actions %>
$Field
<% end_control %>
</form> -
Re: Extending Search Form

24 November 2008 at 6:20pm
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; }
| 1156 Views | ||
|
Page:
1
|
Go to Top |


