Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!


jmCheckBox Function Index jmCloseWindow
jmChoose

The jmChoose function is used for creating a multiline <select> form element in a Jamroom Control Panel form that allows multiple items to be selected at one time form.tpl element name: form_select

  • return: Returns True/False on Success/Error
bool jmChoose (string $text, string $name, array $data, [string $selected = ''], [string $mult = 'no'], [string $style = false], [string $help = false], [string $sub_title = false], [string $javascript = false])
  • string $text: Title for form field - i.e. the string to the left in the Control Panel
  • string $name: Form field "name" value
  • array $data: Array containing key => value pairs for use as the <options> in the select form
  • string $selected: Option that will be selected on form load (i.e. existing or default value)
  • string $mult: Yes/No if multiple options can be selected at one time
  • string $style: Inline CSS style that will be added into the <select> tag
  • string $help: Help Text for the form field
  • string $sub_title: Sub Title that will appear under the title
  • string $javascript: Javascript that will be added into the <select> tag
 Comments
You must be logged in to post a comment
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network