Hi Long,
Thanks for the response. But, I am saving the record in a custom table. Also, I need to compare the selected start and end times before doing update/insert. Is there anyway we can do it?
In simple terms, do we have a validation hook(rwmb_frontend_validate) like we have in MB Frontend Submission?
I mean I need to stop the user from creating/updating the record. Using pre_save hook doesn't give a proper way to return error to the post page.
Any help would be appreciated.
Many thanks