I'm working on an application made up of Lightning Components on Community pages. The application has a date field that is allowing various values into it and it's not capturing data correctly on the front end. So, the thought came up of doing some kind of server side validation. Basically, saving the value in the Contact object, then retrieving it and validating it based on that. First, is this even a recommended approach? The process would take 2 Apex calls, one to save and another to retrieve, and to ensure the date gets validated properly the website would have to pause, I'm guessing, to ensure processing before navigating to the next page. The device doesn't appear to matter, but we can replicate the issue in IE11 (which I know isn't technically supported by Lightning, but since the app is public facing we can't keep people from using it, either).
Has anyone performed anything like server side validation on lightning components in communities?