Hi,
I am currently developing a little form which has 3 different radio buttons.
Each Button requires another set of fields (I will have 3 different
sections, one for each option).
But I need some required fields for each section, which will be determined
by the selection of the radio buttons.
If I now set required fields for all three sections Infopath will give me an
error if only fields for the current (selected) section are set, but not for
the others (which I would like to hide).
How can I solve this problem? Any suggestions?
Scott L. Heim [MSFT] - 21 Jul 2005 13:51 GMT
Hi Alexander,
The only way I can think of is you would need to *not* set the fields as
required and then use custom scripting to insure the "required" fields are
actually completed.
For instance, let's say you have a "submit" or "save" button - before
executing the submit or save, you will need to test each field to insure it
is not empty.
I hope this helps!
Scott L. Heim
Microsoft Developer Support
This posting is provided "AS IS" with no warranties, and confers no rights