E
edmarino
Guest
hi This field validation doesn't work. if('{!tipo_persona_tributaria#code}'=='N'){ switch ('{!clase_de_tercero_Natural#code}'){ case 'AGNTE', 'INSPECTOR','PRPIETRIO','RLGAL': break; case 'CNDCTOR': if('{!fecha_nacimiento#js}'=='')return 'Indique la fecha de nacimiento del conductor '; var fchaf = new Date(); var fchai = new Date(fchaf.getFullYear() - 18,fchaf.getMonth(),0); fchai.setDate(fchai.getDate() + fchaf.getDate() + 1); if('{!fecha_nacimiento#js}' fchai)return 'Fecha incorrecta'; break; default: } } Can you help me? my time zone is -5 but rbv_api.getCurrentDate() return -6 thank vey much
Continue reading...
Continue reading...