Set value of hidden field

Hello,

How does one go about setting the value of a hidden field in a DHTMLXForm?

The API has setItemValue for Inputs only. I tried the following to no avail:

targetForm.getFormData().[“enabled”] = “false”;

Thanks,
Mike

Never mind, looks like setItemValue function works for hiddens.