Edit In Place using AJAX
All you need for this is x-editable and a few lines of config JS.
Using the AJAX plugin you can simplify the PHP code to have more simple controller actions.
Enter [A-Z]+ for valid input, and anything else (e.g. numbers or #;:$&/) to get en error.