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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Template Questions /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

remove end point in search input


Go to End


1492 Views

Avatar
felito

Community Member, 10 Posts

12 November 2012 at 2:22pm

Edited: 12/11/2012 2:35pm

This is a bit strange, i am using the search engine, but when i do:

		<% if SearchForm %>
			<span class="search-dropdown-icon">L</span>
			<div class="search-bar">
				$SearchForm
			</div>		 
		<% end_if %> 

I am getting something like this html:

<div id="Search" class="field text nolabel">
<span>
<span class="blue">
‌¶‌→‌¶‌→
<div class="middleColumn">
‌¶‌→‌→
<input id="SearchForm_SearchForm_Search" class="text nolabel" type="text" value="vghgfh" name="Search">
‌¶‌→
</div>
‌¶‌→‌¶‌→‌¶. . //here
</span>
. //here
</span>
</div>

Where is this html? and why i am getting this end points?