-Ni3K-
-Ni3K-
FFilament
Created by -Ni3K- on 3/21/2025 in #❓┊help
Action form, validate data from API
Hello everyone. I use Action as forms, and I would like to check some condition via an API call first before the form submits and reset form. Essentially the form will try to submit, I make an API call to see if the form data is viable and throw a validation error if it isn't based on the API response. Normally, I would let the request submit and then fail if it doesn't pass the validation. But this is a very big form, and having to redo the whole thing might not be great for the user. I have checking the documents, but I haven't found anything on this topic. Any help is much appreciated!
6 replies