Vous avez des questions ?
merci de remplir ce formulaire
(service réservé aux professionnels)
; if (!value.match(pattern)) { result = false; } break; case 'telephone_number': if (!value.match(/([\d \.\/\-+()]){5,}/)) { result = false; } break; case 'date': if (!value.match(/[0-9]+-[0-9]+-[0-9]+/)) { result = false; break; } var array_date = value.split('-'); if (parseInt(array_date[0],10) < 1 || parseInt(array_date[1],10) <1 || parseInt(array_date[2],10) < 1 ) { result = false; } break; } return result; } xoopsFormValidator_liaise_5.highlightError = function(o,item) { if (!this._firsterror) { this._firsterror = {'obj':o,'item':item}; } if (o) { if (item.required_type == 'date') { o.parentNode.style.backgroundColor=this._errorcolor; } else { if (o.style) { o.style.backgroundColor = this._errorcolor; } } } } xoopsFormValidator_liaise_5.unhighlightError = function (o, item) { if (o) { if (item.required_type == 'date') { o.parentNode.style.backgroundColor = ''; } else { if (o.style) { o.style.backgroundColor = ''; } } } } xoopsFormValidator_liaise_5.addError = function(error) { this.myform_missing_elements.push(" - "+error); } scriptLoader.loadOnce('/include/zipcode.js'); //-->