updated method to add a sign to required form fields