How to get the value of a hidden field

Hello folks,

I use some hidden input fields on a form to store data I use further on but which the user doesn’t have to see.
It seems that the method “getItemValue” only works for visible input fields.
How can I get this values ?

Hello, are you sure?

formData = [ {type: "settings", position: "label-left", labelWidth: "100"}, {type: "input", name: "login", value: "abc", label: "Login"}, {type: "hidden", name:"topField", value:"1"}, ]; myForm = new dhtmlXForm("myForm", formData);

myForm.getItemValue("topField")

It works.
Std 4.1, 4.1.1, 4.1.2