Having some problem with hiding and showing fields