thomshouse-escher/escher

Create methods for setting/getting input status

Closed this issue · 0 comments

Input status will allow the ability to set the callback information on input fields returning a JSON reponse. This method will have name, type, and message.

Name will be the field name and type will be (error, success). Getting the input status will simply return the JSON response for the field names that are set using the set method.

This logic will be contained in the UI helper.

$UI->setInputStatus('name','type','message');
$UI->getInputStatus([$fieldnames=array]);