Web Form Question

Hi,

I have a web form. In that i have placed a subform. In the subform i have 2 fields. A radio button and a check box. When i choose a value in radio button the corresponding values should appear in check box. If i choose another value those corresponding values should appear. I take these values from a document. Can anyone help on this. Thanks in Advance.

Subject: RE: Web Form Question

The easy way is to use the “Refresh document on keyword change” option on the first field, and “Refresh choices on document refresh” on the second field. This makes the form be submitted when the first field changes, but not saved. It’s redisplayed with the new choices (I’m assuming that the second field uses a formula to calculate its list of choices).

The less easy way is to use DHTML – JavaScript code – to overwrite the HTML for the second field. The innerhtml property will be helpful here – read about it.

Subject: RE: Web Form Question

Thanks Andre for your response.

What you have said is absolutely right. I have tried the refresh options, its making the form submitted.

The choices will be coming from a document.

The other way around what you have said is innerHTML, can you brief me a bit on that ??

Thanks,

Anil.