Hide/Show field form doesn't work properly