Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / General MS InfoPath Questions / July 2005

Tip: Looking for answers? Try searching our database.

Determine required fields upon Radio-Buttons

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alexander - 21 Jul 2005 11:13 GMT
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
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.