well, to be fair, it's not UE that isnt working, it is the recordset.
So to tell why the recordset is not working, I would need a copy of the page.
the fact that the hidden element works means that the recordset is working on page load.
my bet is that you use a variable on page load to filter the recordset that does not exist when the form is submitted.
Remember that submitting a form reloads the page. so any variables that are used to filter the recordset need to exist when the page is loaded and again when the form is submitted.