Edito: he hecho algo así, pero no funciona, aquí pongo el código:
Código PHP:
//form ajax:
<form name="form_mapa" action="#" onsubmit=" showAddress(this.address.value, this.zoom.value=parseFloat(this.zoom.value)); return false">
<input id="t3" type=text name="t3" />
</form>
<script type="text/javascript">
var myTextField1 = document.getElementById('t3');
}
</script>
//form php:
<FORM ACTION="procesa.php" method="post">
<input type="hidden" name="titulo" maxlength="20" value="document.write(myTextField1.value)" /><br><br>
<input type="submit" value="Publicar"><br><br>
</form>