function post_lost_password_reset(){ //Validation des données form_config = [{"input_id":"wlp_code","label":"Code de s\u00e9curit\u00e9","mandatory":true,"data_type":"varchar","nb_char":5},{"input_id":"new_pass","label":"Nouveau mot de passe","mandatory":true,"data_type":"password"},{"input_id":"new_pass_1","label":"Confirmation mot de passe","mandatory":true,"data_type":"varchar","nb_char":80}] if(form_validation(form_config)){ document.getElementById('fr_login').method='post'; document.getElementById('fr_login').action='post_lost-password.php'; document.getElementById('fr_login').target='_top'; document.getElementById('fr_login').submit(); } } function post_lost_password(){ //Validation des données form_config = [{"input_id":"login_code","label":"Courriel \/ Code d'utilisateur","mandatory":true,"data_type":"varchar","nb_char":255}] if(form_validation(form_config)){ document.getElementById('fr_login').method='post'; document.getElementById('fr_login').action='post_lost-password.php'; document.getElementById('fr_login').target='_top'; document.getElementById('fr_login').submit(); } }