What is causing the required hidden field not to populate?