Help with hidden field

Hi;

I have a field on a web based form called ‘draft’ which is set to a value “draft” if the use user wants to submit the form and come back to edit it later.

The field is hidden by setting the HTML attributes to “TYPE="HIDDEN"”.

The button to fire this is

Problem is, I keep getting a javascript error ‘this.form.draft’ is null or not an object…which i think means that my javascript is not seeing the field object.

Anyone know why this is?

Please help…

Subject: Help with hidden field

Ok got it…

had to check generate fields as HTML…