How to mirror a field value to a hidden field?