jFormer DocumentationAdvanced Fields

HTML

JFormComponentHtml(String html)

The HTML component allows you to insert HTML anywhere in your form.

Usage

Constructor

	new JFormComponentHtml(String html)
    

Sample Usage

Create an html component that holds a list:

	$address = new JFormComponentHtml('
			
');

Value Returned

the HTML component just outputs HTML and allows you to insert HTML between components in your form wherever you wish.

as such it doesn't return a value and doesn't show up in the formValues object

Options

the HTML component does not have any options or methods. Pass it HTML and it outputs that HTML.

Next Page: Likert

This page was last edited on April 11, 2011 at 8:01pm.

0 comments (add a comment)