Yes. if a lot depends on how your form data is defined / how it is sent. eg:
new Request({ data: $("formid") }).send(); will serialize the form and submit all form fields. what you can do is move the hidden fields to the form before submitting, so that they also include them (via $("formid").adopt(el1, el2, ... eln); where els are your hiden) or a collection that you did as $$("input[type=hidden]") .
if you compose the data object manually, and then just add them to it using the key, its just a hash table of the key-> value pairs.
source share