{: NES 0.9 ('{: * cfg_plugin_top_dir :}/forms_captcha.pl','none') :} {: # ---------------------------------------------------------------------------- NES 0.9 beta by - Skriptke Copyright 2009 - 2010 Enrique F. Castañón Licensed under the GNU GPL. http://sourceforge.net/projects/nes/ Sample to use Nes; ---------------------------------------------------------------------------- :}
Formulario seguro con chequeo de campos:
{: & form (test0,,,,20m,30s,none,5/1)nes_forms_plugin_test0_error_last : {: *nes_forms_plugin_test0_error_last :} nes_forms_plugin_test0_error_fatal : {: *nes_forms_plugin_test0_error_fatal :} nes_forms_plugin_test0_attempts : {: *nes_forms_plugin_test0_attempts :}{: & check ( {: # field_name:min,max,type # type: num, email o regex :} 'user: 4,30', 'password: 4,20' ) :}
Se han detectado errores:
{: ~ *nes_forms_plugin_test0_error_field_user {: # error en el campo nombre de form1 :}
* ERROR en Usuario:
necesario entre 4 y 30 caracteres
:}
{: ~ *nes_forms_plugin_test0_error_field_password
* ERROR en Password:
es necesario y debe tener entre 2 y 20 caracteres
:}
Formulario seguro con chequeo de campos y captcha:
{: & form (test1,,ctest1,,20m,30s,none,10/1)nes_forms_plugin_test1_error_last : {: *nes_forms_plugin_test1_error_last :} nes_forms_plugin_test1_error_fatal : {: *nes_forms_plugin_test1_error_fatal :} nes_forms_plugin_test1_attempts : {: *nes_forms_plugin_test1_attempts :} nes_captcha_plugin_ctest1_error_last : {: *nes_captcha_plugin_ctest1_error_last :} nes_captcha_plugin_ctest1_error_fatal: {: *nes_captcha_plugin_ctest1_error_fatal :} nes_captcha_plugin_ctest1_attempts : {: *nes_captcha_plugin_ctest1_attempts :}{: & check ( {: # field_name:min,max,type # type: num, email o regex :} 'user: 4,30', 'password: 4,20' ) :}
Formulario seguro con chequeo y captcha en el último paso:
{: & form (test2,0,ctest2,last,20m,30s,none,10/1)nes_forms_plugin_test2_error_last : {: *nes_forms_plugin_test2_error_last :} nes_forms_plugin_test2_error_fatal : {: *nes_forms_plugin_test2_error_fatal :} nes_forms_plugin_test2_attempts : {: *nes_forms_plugin_test2_attempts :} nes_captcha_plugin_ctest2_error_last : {: *nes_captcha_plugin_ctest2_error_last :} nes_captcha_plugin_ctest2_error_fatal: {: *nes_captcha_plugin_ctest2_error_fatal :} nes_captcha_plugin_ctest2_attempts : {: *nes_captcha_plugin_ctest2_attempts :}{: & check ( {: # field_name:min,max,type # type: num, email o regex :} 'user: 4,30', 'password: 4,20' ) :}
Se han detectado errores:
{: ~ *nes_forms_plugin_test2_error_field_user {: # error en el campo nombre de form1 :}
* ERROR en Usuario:
necesario entre 4 y 30 caracteres
:}
{: ~ *nes_forms_plugin_test2_error_field_password
* ERROR en Password:
es necesario y debe tener entre 2 y 20 caracteres
:}