form effects and success/failure for input fields