move hidden field to DOM tree