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.
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.