form errors and ajax user actions