Added a non-working hidden field logic