Jamroom Logo Jamroom 5 Core
is now Open Source!
User Support Forum Archive (Read Only)
Jamroom Developers:
jmRadio??
Sonny Bama



Joined: 23 Jul 2005
Posts: 939

Posted: 11/15/10 13:10 
I need to add a radio button in the control panel for one of my modules.. I see how to use jmSelect but I need to have it as a radio function so you cant select more than one option.
is there a radio form function for this?

Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 11/15/10 17:09 
I thought there was, but I don't see one now. The only type of radio buttons used are Yes/No buttons with jmYesNo.

You could always manually create it and output it with jrHtmlFormRawText:

http://www.jamroom.net/Function_jrHtmlFormRawText

Kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Sonny Bama



Joined: 23 Jul 2005
Posts: 939

Posted: 11/15/10 18:46 
Thanks Kyle.. But I'm not sure how I would create radio buttons from this..

jrHtmlFormRawText (string $text)

It says its for embedding raw text. What am I missing here? Idea ?

Back to top
jamesd116



Joined: 05 Jun 2006
Posts: 1559
Location: Rochester Pa

Posted: 11/15/10 19:21 

Sonny Bama:
Thanks Kyle.. But I'm not sure how I would create radio buttons from this..

jrHtmlFormRawText (string $text)

It says its for embedding raw text. What am I missing here? Idea ?

you would create it using html and this lil function would out put ur html radio button option for you


_________________
One day the court system will learn that a childs mother is not the only option...... Question is will it be too late by that time...
Back to top
smith.kyle
CodeSmith


Joined: 27 Apr 2006
Posts: 22009
Location: Southern California

Posted: 11/15/10 22:17 
Right - something like:

$radio = '<input type="radio" etc. etc. />';
jrHtmlFormRawText($radio);

Kyle


_________________
kyle[at]jamroom.net

Yes...that's a soda machine...

I get bored when no one's posting...
Back to top
Sonny Bama



Joined: 23 Jul 2005
Posts: 939

Posted: 11/15/10 23:50 
ahhh.. cool!! thanks guys, I'll give that a go!

Back to top
Display posts from previous:   
User Support Forum Archive (Read Only)
Jamroom Developers

 
Solutions
• Social Media Platform
• Social Networking Software
• Musician Website Manager
• Community Builder
Products
• Jamroom Core
• Jamroom Addons
• Jamroom Modules
• Jamroom Marketplace
Support
• Support Forum
• Documentation
• Support Center
• Contact Support
Community
• Community Forum
• Member Sites
• Developers
Company
• About Us
• Contact Us
• Privacy Policy
©2003 - 2010 Talldude Networks, LLC.