Assigning value to hidden field in JS

How to assign the value to hidden field using javascript on click of button.??

Subject: assigning value to hidden field in JS

Notes client or browser?

Subject: assigning value to hidden field in JS

  1. Enable the ‘Generate HTML for all fields’ property of the form.2. Button Code->

document.forms[0].hiddenfldname.value=“New Value”

This should set the value when the document is saved.

Subject: assigning value to hidden field in JS

Scarlet,

If u have hided that field using notes hide-when then u cant access that field using javascipt.

U can put that field in a

with style=“display:none” …

Put ur field

Note: Dont forget to pass thru ur tags

HTH,

Thish…