Real-time validation works but only for the validation types you can select in App Connect.
For checking a DB record it happens as per the steps you set out in the server side validation. As for messaging, that should work no worries when the submit the form, check this post for some detailed info:
I haven’t had to do that myself, but i would imagine that you would need to set up your server action file so that when you click NEXT, that it submits part of the form you want to check and that includes a validation step in the action file.
I’m sure its easy enough to to do if you play around with it, but others who’ve done it might have better advice.
I would like to do the similar thing, I want to check if "eventname" exists in db before going to the next step in multi steps form, like my questions above. how can I solve this problem? I still get 400 bad request error.
thanks, I've already checked this documentation, but isn't this for entire form submit? I would like to do this record check in one step. So I don't know how to add the condition on the "NEXT" button. btw, the below code didn't work.
Have you get an answer for this? Also trying this one. I’ve spent around 6hours trying to make this work without any success. I did not find anything that I understand.