Parsley remote validator looks for HTTP response code not for the body content itself. In your example you're returning json data with probably always HTTP 200 status code.
Hi guillaumepotier, first of all, thanks for your incredible development and answering questions like mine. In my case I'm returning response codes, because I saw your answer in another thread saying that, but I really don't know what my php server code need to answer. I tried many many things. May be the right questions are: - What the server code need to answer in order to indicate to parsley the OK and KO conditions? HTTP Responses, php key-value pairs...? - In which format (json, plain text,...) need to be answered? Again, thank you very much for your interest and software. Esteve.