Jamroom Logo
Newsletter
Member Spotlight
80394
Illustration.net
"Illustration.net is yet another example of Jamroom's versatility in the world of professional CMS Apps. Created by Oinkba Design, Illustration.net is a social network for artists and buyers which includes a marketplace for Digital and Original Artwork. The site also includes many tools for artist promotions and portfolios with Virtual Walls, Search by Colors and many other custom functions integrated."
Follow Jamroom on Twitter!


jrCancel Function Index jrFormOrderedList
jrFormElementCell

The jrFormElementCell is used for creating a "cell of elements" that you will often see as the "Options" bar in a Jamroom Form. The $_elements array consists of:

  • type - Type of Form Element: button, checkbox, input, submit
  • value => Text to appear on button
  • url => URL to open when button is clicked
  • style (optional) style for the button
  • onclick (optional) - full javascript onclick handler if needed

form.tpl element name: form_element_cell

  • return: Returns true
bool jrFormElementCell (String $title, array $_elements, [string $sub_title = false])
  • String $title: Title for the option
  • array $_elements: Array that contains an entry for each form element to create
  • string $sub_title: Sub Title that will appear under the Title
 Comments
ussher, 02/08/10 23:56:16:

to do radio buttons:
$_btn[$i]['type'] = 'text';
$_btn[$i]['value'] = ' ';
ussher, 05/09/09 03:18:31:

eg:

$_btn[1]['type'] = 'checkbox';
$_btn[1]['name'] = 'choice1';
$_btn[2]['type'] = 'text';
$_btn[2]['value'] = 'Choise One, ';
$_btn[3]['type'] = 'checkbox';
$_btn[3]['name'] = 'choice2';
$_btn[4]['type'] = 'text';
$_btn[4]['value'] = 'Choice Two ';
$_btn[5]['type'] = 'input';
$_btn[5]['name'] = 'input_box_name1';
$_btn[6]['type'] = 'text';
$_btn[6]['value'] = ' some text here';
$_btn[7]['type'] = 'input';
$_btn[7]['name'] = 'input_box_name2';
$_btn[8]['type'] = 'text';
$_btn[8]['value'] = ' more text here. ';

jrFormElementCell('The Cell Title',$_btn);
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 Core
Jamroom Addons
Jamroom Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2012 Talldude Networks, LLC.