Hidden form field

Is it possible to add a hidden input field to New-UDForm and have the data show in $EventData?

<input type="hidden" id="id" name="name" value="value">

I know you can use -disabled but I dont think hidden is a property/parameter on new-udtextbox at the moment, just curious, whats the use case for this, if it’s hidden from the user why not just stick the value into a PS variable?

I had actually tried a variable but now when i try again it works. I must have screwed something up when i tried it before.