Conditionally hidden field not shown in form