Option buttion in DIP does not default.
-
Tuesday, April 17, 2012 10:54 PM
Hi -
I have a simple InfoPath form that is tied to a SharePoint content type. Content type contains Single line text fields (A, B, C)
The Infopath form contains a few text boxes(A, B) and an option button (C with two radio buttons and a deafult set to first value).
In the infopath form the default is always selected correctly. But when the same form shows up in the DIP (Document Information Panel) the default radio button is not selected. How do I make the default value selected in the DIP also.
Any solution would be greatly appreciated.
I am using the same content type to display field values in a different document. If nothing is selected for the radio button option group, the field name displays. I should be ok if I am able to set this to show an empty/blank value. How can this happen?
I have added a rule to the InfoPath form to set the default value to xx when the field C is blank. That did not help.
Thank you
prasad
- Edited by prasad-a Wednesday, April 18, 2012 2:25 PM
All Replies
-
Monday, April 23, 2012 5:32 AMModerator
Hi prasad-a,
I think you can remove your rule first, then please modify the attribute of the radio button as the following snapshot.
Thanks,
Jack
- Marked As Answer by Jack-GaoMicrosoft Contingent Staff, Moderator Friday, April 27, 2012 9:36 AM
- Unmarked As Answer by prasad-a Tuesday, May 01, 2012 3:54 PM
- Edited by Jack-GaoMicrosoft Contingent Staff, Moderator Wednesday, May 02, 2012 5:58 AM
-
Tuesday, May 01, 2012 3:56 PM
The default option works fine in the InfoPath form as I have mentioned. It does not default in the DIP. That is the issue. By using code in the Form_load the default works well in DIP as well.
Thanks
Prasad
-
Tuesday, May 01, 2012 5:43 PM
Have you try to use "form loading" rules?
I think you can do what you want with this.
Visit my blog : http://rmatayron.blogspot.com/

