Wappler Version : 3.0 rc3
Operating System : Windows 10
Expected behavior
When i create a server side validation step, i.e. to check if DB record exists, the validation message should appear on the client side if i have set it up correcttly.
Actual behavior
The server action works as expected (i.e. fails due to DB record already existing) but the message is not displayed on the client side.
Please note, i have checked the forum and my own work and believe everything is set up correctly.
To confirm:
the validator.js and css files are loaded in the head:
The Validation step has the linked field matching the Name of the input field that the validation step is set up on, see UI screen shot and also the code from the server action file:
I know lots of people have had problems in the past, but it turned out it was their error (like not having the JS files loaded in the doc or not having the linked name filled out etc).
If someone could let me know if they have it working in the current beta version, I can continue troubleshooting…otherwise it looks like I’ve done everything right??
Updated the file, created a new validate data step just to be sure. Still getting 400 error. Although i believe there is more/different data in the console.
The server-side validation is now correct, the following problem is with the client-side. Here an updated app connect file, replace it in the dmxAppConnect folder.