Hola
scrhall:
En tu código veo 3 etiquetas <form>, quizás como dices no es la manera más sencilla de hacerlo.
Prueba a tener un único form y a cambiar el atributo
action del mismo según qué
radio se escoja, simplifica el HTML. Podría ser así:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="es" lang="es">
<head>
<meta http-equiv="Content-type" content="text/html;charset=iso-8859-1" />
<meta name="Author" content="derkeNuke" />
<title>Página nueva</title>
<style type="text/css">
</style>
</head>
<body>
<script type="text/javascript">
<!--
function enviar(){
var elRadio = document.f.opcion;
var todaLaWeb = elRadio[0].checked;
if( todaLaWeb ) {
document.f.action = "todalaweb.htm";
return true;
}
else {
document.f.action = "scrhall.htm";
return true;
}
}
// -->
</script>
<form name="f" action="todalaweb.htm" onsubmit="return enviar()">
<input type="text" name="s" value="" />
<input type="radio" name="opcion" checked="checked" id="todalaweb"> <label for="todalaweb">Toda la web</label>
<input type="radio" name="opcion" id="enscrhall"> <label for="enscrhall">En Scrhall.com</label>
<button type="submit">Enviar</button>
</form>
</body>
</html>
Por cierto, un formulario necesita un botón de tipo submit hagas lo que hagas, sino no es accesible.
Saludos.