Hello,
I think I have found a subtle bug in using the validate plugin with remote validation.
If a field is validated using the "remote" feature, if the field is not altered, even if it contains valid content, when pressing the submit button (save), the submit is triggered, but the "save" button is not one of the fields sent to the server.
I have arranged a simple test page to show the problem.
The source of the page can be recovered at the following url, the php part is just to show the request being submited by the form.
Just connect to the page and change the "Node ID" to 12345, press "TAB" to move to the next field and then press on the "save" button. At the bottom of the page, you'll see the request sent to the server. The "save" field is present with the assigned value of "Save". This is the normal working.
Now let's trigger the bug: try to just press the "Save" button, without touching the "Node ID" field, you'll notice the "save" field is not present in the request sent to the server.
The "save" field is not even present if you just change the "Node ID", but press the "Save" button without leaving the field with the cursor.
In all the cases, when checking the web server logs, the remote file is requested before the submit.
The remote file checking for validity of the field is just returning true.
Source can be seen as
Even with this subtle bug, the validation plugin is one of my favorite and I have to really thank all of you working on this amazing software.
Leandro