PDA

View Full Version : convert form to link


arabuser
06-01-2010, 07:18 AM
Hi im using glossary (https://vborg.vbsupport.ru/showthread.php?t=188189&highlight=glossary) add-on with my vb 3.7 and there a template called (vbglossar_navbarsearch) to do search from navbar

<form action="$vboptions[bburl]/vbglossar.php?$session[sessionurl]do=search" method="post">
<input type="hidden" name="securitytoken" value="$bbuserinfo[securitytoken]" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="hidden" name="do" value="search" />
<div>
<input type="text" class="bginput" name="keyword" size="25" tabindex="2008" />
<input type="submit" class="button" value="$vbphrase[go]" tabindex="2009" />
</div>
</form>

what I want is to use this search funcation in normal link coz I tried to do it by my self and I wasnt abel I tried

<a href="http://www.mydomain.com/vb/vbglossar.php?do=search&keyword=2010">2010 list</a>

but not work there some syntax to use this form function as link ?

Marco van Herwaarden
06-02-2010, 10:30 AM
Please ask in the thread of the modification.