Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Option Group (Frame) radio buttons

Status
Not open for further replies.

99Chuck99

Programmer
Dec 11, 2003
67
0
0
US
I have a data access page with several option groups(FRAMES). How would I retrieve the value selected by user.I have tired the following any help would be great

msgbox WINDOW.MSODSC.CurrentSection.HTMLContainer.children("ELECTSHOULDBEMAINTAINED").checked

msgbox WINDOW.MSODSC.CurrentSection.HTMLContainer.children("ELECTSHOULDBEMAINTAINED").value
 
If you have bound options, you might want to see:

The frame doesn't have a value. So let's aay there's two option butttons, Male and Female. On the Onclick of the frame, I did:
If document.all.item("MyMaleOption").checked = True then
msgbox document.all.item("MyMaleOption").value
Else
msgbox document.all.item("MyFemaleOption").value
End If

MyMaleOption/MyFemaleOption are the ID's of the buttons.

Help any?
 
Thank you very much that did help me out. Have a great day..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top