Title: Remote validation Post by: enber79 on July 06, 2016, 03:55:47 AM Hi all, anyone knows how to perform remote validation (php) in a textbox? ???
Thanks Title: Re: Remote validation Post by: enber79 on July 06, 2016, 09:25:13 AM Ok, now I can pass a value via POST to an external PHP, and get response:
Code: $.extend($.fn.validatebox.defaults.rules, { This return 1 or 0, and If is working as intended, but cannot show error message. Where I can return validation as true or false? Thanks again. Title: Re: Remote validation Post by: jarry on July 06, 2016, 07:12:10 PM Please try this 'remote' validator.
Code: $.extend($.fn.validatebox.defaults.rules, { Usage example: Code: <input class="easyui-textbox" validType="remote['php/validation.php','q']"> In your 'validation.php' script, you must receive the 'q' parameter value and return 'true' or 'false' to the browser. Code: <?php Title: Re: Remote validation Post by: thecyberzone on September 04, 2016, 08:04:17 AM Superb usage ...
|