Server IP : 202.29.229.35 / Your IP : 18.119.104.149 Web Server : Apache System : Linux aapanel2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 User : www ( 1001) PHP Version : 5.5.38 Disable Function : passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /www/wwwroot/www.ivecr2.ac.th/ncvet5/std2021/js/contrib/ |
Upload File : |
/* This file contains validations that are too specific to be part of the core Please reference the file AFTER the translation file or the rules will be overwritten Use at your own risk. We can't provide support for most of the validations */ (function($){ if($.validationEngineLanguage == undefined || $.validationEngineLanguage.allRules == undefined ) alert("Please include other-validations.js AFTER the translation file"); else { $.validationEngineLanguage.allRules["postcodeUK"] = { // UK zip codes "regex": /^([A-PR-UWYZ0-9][A-HK-Y0-9][AEHMNPRTVXY0-9]?[ABEHMNPRVWXY0-9]? {1,2}[0-9][ABD-HJLN-UW-Z]{2}|GIR 0AA)$/, "alertText": "* Invalid postcode" }; $.validationEngineLanguage.allRules["onlyLetNumSpec"] = { // Good for database fields "regex": /^[0-9a-zA-Z_-]+$/, "alertText": "* Only Letters, Numbers, hyphen(-) and underscore(_) allowed" }; // # more validations may be added after this point } })(jQuery);