Hello,
I need help with validating $_PARAM server-side. This Server Action is attached to a page, e.g.:
Route to such page is like /phone-number/:phone_number
For validation I did this, but it's not working (validation is being ignored):
I also don't know how to use Validate Data step:
And I don't know if any of the above options are the best way to validate this $_PARAM data, because then I want to present a pretty error message or use a Redirect step, and I'm not sure if the above options allow me that kind of fine-grained control or if they just blindly throw some JSON error (which isn't user-friendly). I could use some Condition step, but using the built-in validators for digits, etc. would be better.