While in the backend I can find instance.lastDayOfPreviousMonth , is there an equivalent in frontend? I couldn't find it.
I would like to perform a simple input data validation to show the error message in case of errors. The form has 'no data action' set.
EDIT:
I am aware of set_field_error function.