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 / May 2006

Tip: Looking for answers? Try searching our database.

How to make a group of radio button in repeating control?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
AaLoK43 - 07 Mar 2006 11:54 GMT
Hey guys!!
Can any1 tell me how to make a grp of radio button in a repeating
section?
I have 1 repeating section with 4 cols.
In 1 col I have added a radio button.
When the user adds data in repeating section s/he should be able to
seclect only 1 radio button.
Thanks for help

AaLoK
:)
S.Y.M. Wong-A-Ton - 07 Mar 2006 12:40 GMT
When you add a radio button to a form, you are prompted as to how many you
would like to add. The amount of buttons is then automatically added for you
to the form. If you want to add an additional radio button afterwards, you
can drag and drop a radio button onto the form, change its binding to the
same Data Source field as the other radio buttons, and change its "Value when
selected" (on the Properties dialog box for the radio button) to the value of
the last radio button plus 1 (so if you had 4 radio buttons on a form and
then added an additional one, the "Value when selected" of the new radio
button should be 5).
---
S.Y.M. Wong-A-Ton

> Hey guys!!
> Can any1 tell me how to make a grp of radio button in a repeating
[quoted text clipped - 7 lines]
> AaLoK
> :)
AaLoK43 - 08 Mar 2006 07:24 GMT
I get that..but I want to add radio button in 1 col of a repeating
section..so I dont knw how many to add. Coz user can add multiples rows
since dey r in repeating section.
Adam Harding - 08 Mar 2006 11:56 GMT
AaLoK43

You want to add radio buttons to each row of your repeating table?

Adam

> I get that..but I want to add radio button in 1 col of a repeating
> section..so I dont knw how many to add. Coz user can add multiples rows
> since dey r in repeating section.
S.Y.M. Wong-A-Ton - 08 Mar 2006 13:12 GMT
Please try to explain your scenario on a different way, so that we can better
understand what exactly you are trying to do. Is it that you want to add a
radio button group across the repeating sections? That is, have 1 radio
button in each repeating section, and have all the radio buttons in all
sections function as 1 group?
---
S.Y.M. Wong-A-Ton

> I get that..but I want to add radio button in 1 col of a repeating
> section..so I dont knw how many to add. Coz user can add multiples rows
> since dey r in repeating section.
NAT - 21 May 2006 19:53 GMT
Hi even I am facing the same problem. Any solution ?
To explain it :
I have a repeating section. In this section there is a table of one row.Now
the first column is a radio button. Since this is a repeating section so I do
not know the no. of rows that can be at a time. I want the user to select a
row by clicking on the radio button (first column). But since the radio
buttons cannot be grouped here. I want to user to select only one radio
button at a time. Is there any way I can acheive the grouping of the radio
buttons in this scenario ?
Thanks in advance

> Hey guys!!
> Can any1 tell me how to make a grp of radio button in a repeating
[quoted text clipped - 7 lines]
> AaLoK
> :)
Greg Collins [InfoPath MVP] - 22 May 2006 20:27 GMT
You need to write your own OnAfterChange code which deselects any existing radio button selection after the user selects another one. Unfortunately this is the only way to do this right now without doing some custom work in the XSL itself.

Signature

Greg Collins [Microsoft MVP]
Visit Brain Trove ( http://www.BrainTrove.com )
Visit InfoPath Dev ( http://www.InfoPathDev.com )

 
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.