Here is the complete script to make a search by union with the options of search. You have the possibility of using the wildcard * to replace one of the patronymics.
The type of fields is verified before the sending of the form.
Summits one copy to stick of the script below and insert it into your HTML page. This script opens a new window to display the result of the query.
<script type="text/javascript"><!--
function verif(){if (document.getElementById("nomm").value==""){alert ("You have to fill the field male Name.");document.getElementById("nomm").focus();return false;}if (document.getElementById("nomf").value==""){alert ("You have to fill the field female Name.");document.getElementById("nomf").focus();return false;}return true;}//--></script>
<form method="post" action="http://www.cybergenealogie.fr/cailgeo/us/couple.php" onsubmit="return verif()" target="_blank"><div style="width:260px;height:174px;border:1px #12571b solid;background-color:#FFCC66;padding:3px;font-family:verdana,arial,sans-serif,courier;font-size:12px;"><fieldset style = "background-color:#FFCC66;padding:3px;color:#000;"> <legend style="color:#000" align="center">Search by union</legend><div style="font-size:9px;text-align:right;">(*)Fields ti sized</div><label style="display:inline;width:100px;">Male name:*</label><input type="text" size="18" maxlength="35" name="nomm" id="nomm"/><div><hr/>You can replace a name by *<hr/></div><label style="display:inline;width:100px;">Female name:*</label><input type="text" size="18" maxlength="35" name="nomf" id="nomf"/><input type="hidden" name="typem" value="2"/><input type="hidden" name="typef" value="2"/><div style="margin:auto;text-align:center;"><input type="submit" value="Search"/></div></fieldset><div style="text-align:right;font-size:9px;">©Cybergenealogie</div></div></form>