HTML קוד:
<form name="form" action="search.php" method="get">
<input type="text" name="q" size="20" maxlength="80" /><br />
<input type="radio" name="" value="" checked="checked" onclick="document.form.action='search.php'" /> Site <br />
<input type="radio" name="" value="" onclick="document.form.action='http://www.google.co.il/search?hl=iw'" /> Google <br />
<input type="submit" value="חיפוש" />
</form>