I have a search form object, and I need to build some links that post to that form. eg:
I need a link like:
<a href="www.domain.com/Page_Controller/SearchForm?keywords=xxxx">xxxx</a>
I don't want to hardcode in case the form's name or other things changed. is there any other way to create a link?
like: searchForm.Link("xxxx") will build a link. In orther to write such a funcion, what do I need?
I am quite new to silverstripe, thanks for help. please give me some clues.