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


jmHtmlEnd Function Index jmLinkCell
jmInput

The jmInput function is the main Control Panel form function used for creating input form fields for accepting text, passwords and file upload data.

form.tpl element name: form_input

  • return: Returns True
bool jmInput (string $text, string $name, string $type, [string $value = ''], [string $help = ''], [array $_actions = false], [string $sub_title = false])
  • string $text: Title for form field - i.e. the string to the left in the Control Panel
  • string $name: Form field "name" value
  • string $type: Type of input form element to create - can be one of "file", "date", "password" or "text"
  • string $value: Value to use as value of field when form loads (i.e. existing value)
  • string $help: Help Text for the form field
  • array $_actions: Additional form elements ("actions") that will appear below the input form field
  • string $sub_title: Sub Title that will appear under the title
 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