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 / March 2005

Tip: Looking for answers? Try searching our database.

Selecting Radio Button Value Throgh Code(jscript)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Kris - 05 Mar 2005 17:45 GMT
Can you suggest me how to Get the value of radio button.that means through
code i want to know wheher the radio button is selected ot not ???
How To know??
Greg Collins [InfoPath MVP] - 05 Mar 2005 21:01 GMT
Radio button sets are bound to a single field in your DOM. If you want to know which radio button is selected (if any), just get the value of the field to which the controls are bound.

Example. If you have 3 radio buttons bound to my:field1 as such

O Radio 1
O Radio 2
O Radio 3

And their values are A, B, and C respectively... then if you get the value of my:field1 and it is blank, no radio button is selected. If you get the value of my:field1 and it is "B" then Radio 2 is selected.

Make sense?

Signature

Greg Collins [InfoPath MVP]
Please visit: http://www.InfoPathDev.com

Can you suggest me how to Get the value of radio button.that means through
code i want to know wheher the radio button is selected ot not ???
How To know??
 
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.