molily: Submit via Link + Überprüfung

Beitrag lesen

<form name="install" action="install.php" method="post" onsubmit="return check_install()">

[code lang=html]<a href="#" onclick="document.install.submit();">Installieren</a>

  
<http://de.selfhtml.org/javascript/sprache/bedingt.htm@title=Bedingte Anweisungen>  
  
Z.B.  
`if (check_install()) document.install.submit();`{:.language-javascript}  
  
Mathias