How hide/show fields in form by using conditions?