Hi everyone,
In an apex app I’m building users are editing data inline using Interactive Grids. Some validations are critical like checking if a numeric value is within range or if two fields are logically consistent.
I’m wondering what the community considers best practice in such cases:
- Should these validations be handled on the client side using JavaScript (for faster feedback)?
- Or should we rely on server side validations (process level or column level) for better control and security?
Here is what I hv tried:
- Using apex editable grid save to trigger client side checks.
- Using process validations after Save button is clicked.
Client side feels faster but sometimes the validation gets bypassed if the user does not click Save properly.
Would love to hear your experiences especially on how you have balanced UX vs reliability.
Thanks!