Message d'erreur pour formulaire Dreamweaver

karikikou Messages postés 84 Date d'inscription   Statut Membre Dernière intervention   -  
karikikou Messages postés 84 Date d'inscription   Statut Membre Dernière intervention   -
Bonjour,

Je suis entrain de faire un formulaire de devis en ligne pour mon site. J'ai un soucis car j'aimerais que le client ait un message d'erreur s'affichant en rouge à coté des cases qui ne sont pas remplies type " une valeur est requise..." ou "format invalide" pour une date ou un Email. Les infos n'iront pas dans ma BD tant que les infos ne seront pas données correctement car j'ai un envoi d'email automatique et il faut que cela soit propre pour ceux qui le recoivent

Je travaille sous dreamweaver CS4 et je n'arrive pas à trouver l'astuce, je sais qu'on peut le faire.....

Merci d'avance pour votre précieuse aide ...

cdlt

Chris


A voir également:

4 réponses

pitxu Messages postés 689 Date d'inscription   Statut Membre Dernière intervention   95
 
Bonjour,

c'est possible en utilisant les formulaires COldFusion : https://helpx.adobe.com/fr/support/dreamweaver.html
0
karikikou Messages postés 84 Date d'inscription   Statut Membre Dernière intervention   1
 
merci à toi mais dans mon dreamweaver CS4, je n'ai pas les application objet coldfusion??..

Merci

a +
0
karikikou Messages postés 84 Date d'inscription   Statut Membre Dernière intervention   1
 
J'ai retrouvé comment faire c'est avec les champs SPRY.....

Par contre, dès que je les mets dans le formulaire et que je mets la page en ligne, je n'ai plus rien qui s'affiche, une page blanche entiere.....?????
0
karikikou Messages postés 84 Date d'inscription   Statut Membre Dernière intervention   1
 
Rebonjour

Je suis vraiment en galère. Quand je mets ma page en ligne, c'est une page blanche qui apparrait????? Merci d'avance pour votre aide. Ci dessous mon long code entier:

<?php include('./Connections/swlt.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
{
if (PHP_VERSION < 6) {
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
}

$theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);

switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
break;
}
return $theValue;
}
}

$editFormAction = $_SERVER['PHP_SELF'];
if (isset($_SERVER['QUERY_STRING'])) {
$editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']);
}

if ((isset($_POST["MM_insert"])) && ($_POST["MM_insert"] == "devisform")) {
$insertSQL = sprintf("INSERT INTO devis (sexe, nom, prenom, fixe, fax, portable, email, type, souhait, nature, nombre, poids, dimension, depart, cp, destination, pays, 'date', transport, commentaire) VALUES (%s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s)",
GetSQLValueString($_POST['sexe'], "text"),
GetSQLValueString($_POST['nom'], "text"),
GetSQLValueString($_POST['prenom'], "text"),
GetSQLValueString($_POST['fixe'], "text"),
GetSQLValueString($_POST['fax'], "text"),
GetSQLValueString($_POST['portable'], "text"),
GetSQLValueString($_POST['email'], "text"),
GetSQLValueString($_POST['type'], "text"),
GetSQLValueString($_POST['souhait'], "text"),
GetSQLValueString($_POST['nature'], "text"),
GetSQLValueString($_POST['nombre'], "int"),
GetSQLValueString($_POST['poids'], "text"),
GetSQLValueString($_POST['dimension'], "text"),
GetSQLValueString($_POST['depart'], "text"),
GetSQLValueString($_POST['cp'], "text"),
GetSQLValueString($_POST['destination'], "text"),
GetSQLValueString($_POST['pays'], "text"),
GetSQLValueString($_POST['date'], "date"),
GetSQLValueString($_POST['transport'], "text"),
GetSQLValueString($_POST['Commentaire'], "text"));

mysql_select_db($database_swlt, $swlt);
$Result1 = mysql_query($insertSQL, $swlt) or die(mysql_error());

$insertGoTo = "merci.php";
if (isset($_SERVER['QUERY_STRING'])) {
$insertGoTo .= (strpos($insertGoTo, '?')) ? "&" : "?";
$insertGoTo .= $_SERVER['QUERY_STRING'];
}
header(sprintf("Location: %s", $insertGoTo));
}

mysql_select_db($database_swlt, $swlt);
$query_Recordsetdevisform = "SELECT * FROM devis";
$Recordsetdevisform = mysql_query($query_Recordsetdevisform, $swlt) or die(mysql_error());
$row_Recordsetdevisform = mysql_fetch_assoc($Recordsetdevisform);
$totalRows_Recordsetdevisform = mysql_num_rows($Recordsetdevisform);
?>
<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Devis SWLT</title>

<script src="/Site/SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
<script src="/Site/SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
<script language="JavaScript" type="text/javascript">
//--------------- LOCALIZEABLE GLOBALS---------------
var d=new Date();
monthname= new Array("Janvier","Février","Mars","Avril","Mai","Juin","Juillet","Août","Septembre","Octobre","Novembre","Décembre");
//Ensure correct for language. English is "January 1, 2004"
var TODAY = monthname[d.getMonth()] + " " + d.getDate() + ", " + d.getFullYear();
//--------------- END LOCALIZEABLE ---------------
</script>

<style type="text/css">
<!--
html, body {
margin: 0;
padding: 0;
height: 100%;
}
#global {
position:absolute;
width: 90%;
left: 5%;
right: 5%;
background-color: #FFFFFF;
height: 100%;
}
#Entete {
position: absolute;
height: 95px;
width: 100%;
text-align: center;
vertical-align: middle;
border-bottom-color: #000000;
font-family: Arial, Helvetica, sans-serif;
font-size: xx-large;
top: 5px;
border-bottom-width: 2px;
border-bottom-style: outset;
background-position: center center;
background-image: url(/Images/Illustration%20Webtransit.jpg);
}
#global #Entete .Style1 #logo2 {
position: absolute;
height: 99px;
width: 99px;
top: 0px;
right: 0px;
bottom: 0px;
}
.Style1 {
font-size: xx-large;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #66FF66;
}
.Style7 {
font-size: small;
font-family: Verdana, Arial, Helvetica, sans-serif;
color: #000000;
font-weight: bold;
line-height: 2px;
}
#navigation {
position:absolute;
background-color:#CCFF99;
top:100px;
width:100%;
height:25px;
right:0px;
left:0px;
margin-left:0px;
margin-right:0px;
}
#navigation li {
display: inline ;
margin-right: 1px ;
color:#003366;
background:#C0DFFD;
width:auto;
left:0px;
right:0px;
}
#navigation li a {
padding: 4px 20px ;
background:#CCFF99 ;
color:#003366 ;
font: 1em "Trebuchet MS",Arial,sans-serif ;
line-height: 1em ;
text-align: center ;
text-decoration: none ;
}
#navigation li a:hover, #navigation li a:focus, #navigation li a:active {
background:#99FFCC ;
text-decoration: underline ;
}
#site {
position:absolute;
background-color:#E6F3FF;
left:0px;
top:126px;
width:100%;
height:100%;
bottom: 30px;
overflow: auto;
}
#contenu {
position:absolute;
background-color:#C0DFFD;
top:0px;
height:auto;
width:70%;
margin-left:15%;
bottom: 30px;
overflow: auto;
line-height: normal;
}
#publicité {
position:absolute;
background-color:#E6F3FF;
top:0px;
height:100%;
width:15%;
margin-left:85%;
bottom: 30px;
}
#menu {
background-color: #E6F3FF;
position: absolute;
height: 250px;
width: 15%;
margin:0;
padding:0;
top: 0px;
right: 85%;
list-style: none;
}
#espace {
background-color: #E6F3FF;
position: absolute;
height: auto;
width: 90%;
left: 5%;
top: 5px;
right: 5%;
line-height: 12px;
}
#menu li {
display: block ;
margin-right: 1px ;
color:#000000;
background:#E6F3FF;
width: 90%;
left:0px;
right:0px;
margin-top:10px;
}
#menu li a {
padding: 5px ;
background:#E6F3FF ;
color:#003366 ;
font: 1em ;
line-height: 2em ;
text-align: left;
text-decoration:none ;

}
#menu li a:hover, #menu li a:focus, #menu li a:active {
background:#C0DFFD ;
text-decoration: underline ;
}
#bas {
position:absolute;
background-color:#CCFF99;
bottom:0px;
width:100%;
height:30px;
margin-bottom:0px;
margin-top: auto;
vertical-align:middle;
border-top-width: 1px;
border-top-style: solid;
border-top-color: #000000;
line-height: normal;
}
#global #Entete .Style1 #logo {
background-position: center center;
position: absolute;
left: 0px;
top: 0px;
height: 99px;
width: 99px;
z-index: auto;
overflow: hidden;
background-image: url(/Images/Illustration%20Webtransit.jpg);
}

.Style8 {
color: #000000
}
.Style9 { font-size: 14px;
font-weight: bold;
}
.Style10 {
color: #3366CC;
font-size: x-large;
font-weight: bold;
}
.Style11 {
color: #66CC66;
font-weight: bold;
}
body,td,th {
color: #003366;
}
.Style12 {
font-size: 14px
}
.Style13 {font-size: x-small}
.Style15 {
color: #000000;
font-family: "Trebuchet MS";
font-weight: bold;
}
.Style16 {
font-size: small;
font-weight: bold;
color: #000000;
}
#pub1 {
text-decoration: blink;
background-color: #99FFFF;
border: thin double #000000;
position: absolute;
height: 150px;
width: 95%;
left: 2.5%;
top: 45px;
right: 2.5%;
text-align: center;
vertical-align: middle;
}
#PUB2 {
background-color: #99FFFF;
text-align: center;
vertical-align: middle;
border: thin double #000000;
position: absolute;
height: 150px;
width: 95%;
left: 2.5%;
top: 205px;
right: 2.5%;
}
#pub3 {
background-color: #99FFFF;
border: thin double #000000;
position: absolute;
height: 150px;
width: 95%;
left: 2.5%;
top: 365px;
right: 2.5%;
}
.Style17 {
color: #FF0000;
font-weight: bold;
}
.Style18 {color: #3366CC; font-weight: bold; }
#diversinfo {
background-color: #E6F3FF;
position: absolute;
height: auto;
width: 15%;
top: 250px;
left: 0px;
text-align: center;
}
a:link {
color: #FF6600;
}
a:hover {
color: #3366CC;
}
#date {
background-color: #CCFF99;
position: absolute;
height: 25px;
width: 15%;
top: 0px;
text-align: center;
left: 85%;
right: 0px;
color: #003366;
}
.Style19 {font-size: xx-small}
.Style23 {
color: #000000;
font-size: 16px;
font-weight: bold;
}
#global #site #contenu blockquote .Style18 strong {
color: #003366;
}
#global #site #contenu blockquote .Style18 strong {
font-weight: normal;
}
.Style131 {color: #FF0000}
</style>
<meta name="Keywords" content="PRESENTATION" />
<meta name="Keywords" content="transport,frigorifique,animaux,vivants,swlt,devis,rungis,MIN,aéroport,Roissy,CDG,orly,presentation,recherche,entrepot,stockage" />
<link href="/Site/SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
<link href="/Site/SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
</head>

<body>
<div id="global">


<div id="Entete">
<p align="center" class="Style1"><span class="Style15">S W L T</span></p>
<p align="center" class="Style16">Notre métier: Manutention, Transport, Entreposage</p>
<p align="center" class="Style7"> </p>
</div>

<ul id="navigation">

<li><a href="index.php" title="Accueil">Accueil </a></li>
<li><a href="presentation.php" title="Qui sommes nous?">Présentation</a></li>
<li><a href="contact.php" title="Contact">Contact</a></li>
<li><a href="paiement.php" title="Le plan du site">Paiement</a></li>
<li><a href="recherche.php" title="Rechercher">Recherche</a></li>

<div id="date">
<script language="JavaScript" type="text/javascript">
document.write(TODAY); </script>
</div>
</ul>

<div id="site">
<div id="contenu">
<blockquote>
<p align="center" class="Style10"> </p>
<p align="center" class="Style10">DEVIS SWLT </p>
<p>Ici, vous pourrez soumettre vos demandes de devis vraiment rapidement.
Pour ce faire, il vous suffit juste de compléter le formulaire ci dessous afin que nous puissions prendre contact avec vous le plus rapidement possible, les champs suivi d'un <span class="Style131">*</span> étant obligatoires SVP:</p>

<?php
if ($_POST['submit-form'] == 'ok')
{

$to = 'swlt.christophe@gmail.com'.',';
$to .= $_POST['email'];
$subject = 'Votre demande de devis à SWLT';
$message = "Bonjour"."\r\n" .$_POST['sexe'] .$_POST['nom']."\n\nVeuillez trouver ci dessous un récapitulatif des informations que vous nous avez transmise pour étude"."\n\nVous êtes : ".$_POST['sexe']."\n\nNom: ".$_POST['nom']."\n\nPrénom: ".$_POST['prenom']."\n\nTéléphone fixe : ".$_POST['fixe']."\n\nFax : ".$_POST['fax']."\n\nPortable: ".$_POST['portable']."\n\nE-mail : ".$_POST['email']."\n\nCatégorie : ".$_POST['type']."\n\nVous souhaitez: ".$_POST['souhait']."\n\nAutres : ".$_POST['nature']."\n\nNombre de colis : ".$_POST['nombre'].
"\n\nPoids : ".$_POST['poids']."\n\nDimensions (L x x h en cm) : ".$_POST['dimension']. "\n\nVille de départ : ".$_POST['depart']."\n\nCode Postal : ".$_POST['cp']."\n\nVille de destination : ".$_POST['destination']."\n\nPays de destination : ".$_POST['pays']."\n\nDate souhaitée : ".$_POST['date']."\n\nTransport : ".$_POST['transport']."\n\nCommentaires : ".$_POST['Commentaire']."\n\n\nNous reviendrons vers vous dans les plus brefs délais pour vous proposer notre offre"."\n\nCordialement"."\n\nL'équipe de SWLT";
$headers = 'From: devis@swlt.fr' . "\r\n" .
'Reply-To: devis@swlt.fr ' . "\r\n" .
'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);

}
else { ?>


<form action="<?php echo $editFormAction; ?>" id="devisform" name="devisform" method="POST" >
<label>Vous êtes:<span id="sexespry">
<select name="sexe" id="sexe">
<option selected="selected">--</option>
<option>Mr</option>
<option>Mme</option>
<option>Mlle</option>
</select>
<span class="selectRequiredMsg">Sélectionnez un élément.</span></span><span class="Style131">*</span><br />
<br />
Nom:
<span id="nomspry">
<input type="text" name="nom" id="nom" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span></span> <span class="Style131">*</span> Prénom:
<span id="prenomspry">
<input type="text" name="prenom" id="prenom" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span></span> <span class="Style131">*</span><br />
</label>
<p>
<label>Téléphone fixe:</label>
<span class="Style131"><span id="fixespry">
<input type="text" name="fixe" id="fixe" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Format non valide.</span></span>*</span>
<label>Fax:<span id="faxspry">
<input type="text" name="fax" id="fax" />
<span class="textfieldInvalidFormatMsg">Format non valide.</span></span></label>
</p>
<p>
<label>Téléphone portable:<span id="portablespry">
<input type="text" name="portable" id="portable" />
<span class="textfieldInvalidFormatMsg">Format non valide.</span></span></label>
<label></label>
</p>
<p>
<label>E-mail:<span id="emailspry">
<input type="text" name="email" id="email" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Format non valide.</span></span> <span class="Style131">*</span></label>
</p>
<p><span id="typedevis">
<label>Vous êtes:<span id="typespry">
<select name="type" id="type">
<option selected="selected">- -</option>
<option>Une société</option>
<option>Un particulier</option>
</select>
<span class="selectRequiredMsg">Sélectionnez un élément.</span></span></label>
</span><span class="Style131">*</span>
<label><br />
<br />
Vous souhaitez:<span id="souhaitspry">
<select name="souhait" id="souhait">
<option selected="selected">--</option>
<option>Transporter un animal</option>
<option>Transporter du Général Cargo</option>
<option>Transporter des effets personnels</option>
<option>Transporter des produits frais</option>
<option>Transporter une voiture</option>
<option>Stocker</option>
<option>Faire de la préparation de commande</option>
<option>Autres....</option>
</select>
<span class="selectRequiredMsg">Sélectionnez un élément.</span></span></label>
<span class="Style131">*</span> </p>
<p>
<label>Si autres, précisez:
<input name="nature" type="text" id="nature" size="50" />
</label>
</p>
<label></label>
<p>
<label>Nombre de colis:<span id="nombrespry">
<input type="text" name="nombre" id="nombre" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Format non valide.</span></span></label>
<span class="Style131">*</span>
<label>Poids:<span id="poidsspry">
<input type="text" name="poids" id="poids" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Format non valide.</span></span></label>
<span class="Style131">*</span></p>
<p>
<label>Dimensions (L x l x h en cm)<span id="dimensionspry">
<input type="text" name="dimension" id="dimension" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Format non valide.</span></span></label>
<span class="Style131">*</span></p>
<p>
<label>Ville de Départ:<span id="departspry">
<input type="text" name="depart" id="depart" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span></span></label>
<span class="Style131">*</span>
<label>Code Postal:<span id="cpspry">
<input type="text" name="cp" id="cp" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Format non valide.</span></span></label>
<span class="Style131">*</span></p>
<p>
<label>Ville de destination:
<input name="destination" type="text" id="destination" size="13" />
</label>
<label>Pays de destination:<span id="paysspry">
<input type="text" name="pays" id="pays" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span></span></label>
<span class="Style131">*</span></p>
<p>
<label>Date de départ souhaité (JJ/MM/AAAA):<span id="datespry">
<input type="text" name="date" id="date2" />
<span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Format non valide.</span></span></label>
<span class="Style131">*</span></p>
<p>
<label>Type de transport souhaité:<span id="transportspry">
<select name="transport" id="transport">
<option selected="selected">--</option>
<option>Aérien</option>
<option>Express</option>
<option>Ferroviaire</option>
<option>Maritime</option>
<option>Moto</option>
<option>Routier</option>
</select>
<span class="selectRequiredMsg">Sélectionnez un élément.</span></span></label>
</p>
<p>
<label>Commentaire
<textarea name="Commentaire" id="Commentaire" cols="45" rows="5">Veuillez entrer ici vos commentaires éventuels</textarea>
</label>
</p>
<p>Une fois le formulaire complété, vous pouvez le valider
<input type="submit" name="button3" id="button3" value="Envoyer" />
<input name="submit-form" type="hidden" id="submit-form" value="ok" />
<input name="devisID" type="hidden" id="devisID" value="<?php echo $row_Recordsetdevisform['id']; ?>" />
</p>
<p> ou bien le réinitialiser
<input type="reset" name="button4" id="button4" value="Effacer" />
</p>
<p> </p>
<p> </p>
<input type="hidden" name="MM_insert" value="devisform" />
</form>
<p> </p>
</blockquote>
<blockquote>
<p align="center" class="Style18"> </p>
<p align="center" class="Style23"> </p>
<p align="center" class="Style10"> </p>
<p align="center" class="Style23"> </p>
<p align="center" class="Style23"> </p>
<p align="center"> </p>
</blockquote>
</div>
<div id="publicité">
<p align="center" class="Style18">PARTENAIRES</p>
<div id="pub1">
<p align="center" class="Style17"> </p>
<p align="center" class="Style17">ICI </p>
<p align="center" class="Style17"><a href="publicite.php">Votre Publicité</a></p>
</div>
<div id="PUB2">
<p class="Style17"> </p>
<p class="Style17">ICI </p>
<p class="Style17"><a href="publicite.php">Votre Publicité</a></p>
</div>
<div id="pub3">
<p align="center" class="Style17"> </p>
<p align="center" class="Style17">ICI </p>
<p align="center" class="Style17"><a href="publicite.php">Votre Publicité</a></p>
</div>
<p align="center" class="Style11"> </p>
</div>
<div class="Style13" id="bas">
<div align="center">
<p align="center"><a href="mailto:direction@swlt.fr">Contact Webmaster</a> - <a href="mentions legales.php">Mentions légales</a> -2010 Copyrigh - TOUT DROITS RESERVES -- WWW.SWLT.FR</p>
</div>
</div>

<ul class="Style12" id="menu">
<li><a href="page en construction.php" title="Voir les transports" class="Style8">TRANSPORT</a></li>
<li><a href="service.php" title="Voir les conseils">SERVICE</a></li>
<li><a href="page en construction.php" title="Voir le forum">DEVIS</a></li>
<li><a href="page en construction.php" title="Voir l'annuaire">LIENS</a></li>
<li><a href="page en construction.php" title="S'inscrire">INSCRIPTION</a></li>
<li><a href="page en construction.php" title="Demander un devis">ESPACE PERSO</a></li>
</ul>
<p>
<label></label>
</p>
<p class="Style19"> </p>
</div>
</div>

</div>
<p> </p>
<p> </p>
<script type="text/javascript">
<!--
var sprytextfield1 = new Spry.Widget.ValidationTextField("nomspry");
var sprytextfield2 = new Spry.Widget.ValidationTextField("prenomspry");
var sprytextfield3 = new Spry.Widget.ValidationTextField("fixespry", "phone_number", {format:"phone_custom", pattern:"00-00-00-00-00"});
var sprytextfield4 = new Spry.Widget.ValidationTextField("faxspry", "phone_number", {format:"phone_custom", useCharacterMasking:true, pattern:"00-00-00-00-00", isRequired:false});
var sprytextfield5 = new Spry.Widget.ValidationTextField("portablespry", "phone_number", {isRequired:false, useCharacterMasking:true, format:"phone_custom", pattern:"00-00-00-00-00"});
var sprytextfield6 = new Spry.Widget.ValidationTextField("emailspry", "email");
var spryselect1 = new Spry.Widget.ValidationSelect("typespry");
var sprytextfield7 = new Spry.Widget.ValidationTextField("nombrespry", "integer");
var sprytextfield8 = new Spry.Widget.ValidationTextField("poidsspry", "integer");
var sprytextfield9 = new Spry.Widget.ValidationTextField("dimensionspry", "custom", {useCharacterMasking:true, pattern:"000 x 000 x 000"});
var sprytextfield10 = new Spry.Widget.ValidationTextField("departspry");
var sprytextfield11 = new Spry.Widget.ValidationTextField("cpspry", "integer");
var sprytextfield12 = new Spry.Widget.ValidationTextField("paysspry");
var sprytextfield13 = new Spry.Widget.ValidationTextField("datespry", "date", {format:"dd/mm/yyyy"});
var spryselect2 = new Spry.Widget.ValidationSelect("transportspry");
var spryselect3 = new Spry.Widget.ValidationSelect("souhaitspry");
var spryselect4 = new Spry.Widget.ValidationSelect("sexespry");
//-->
</script>
</body>
</html>
<?php
mysql_free_result($Recordsetdevisform);
}?>
0