aparna module template - jquery text insert
Using Jamroom
You're not going to want to use the form designer for this, since the form designer is only going to work with the form field types that are supported.
In your module's index.php file, you would do something like:
view_yourModule_example($_post, $_user, $_conf)
{
jrCore_page_banner('create something new');
// Form init
$_tmp = array(
'submit_value' => 'create',
'cancel' => jrCore_is_profile_referrer()
);
jrCore_form_create($_tmp);
$html = 'your custom jQuery and HTML here';
jrCore_page_custom($html);
jrCore_page_display();
}So that would be called at:
yourmodule/example
and will display the HTML put into $html.
Hope this helps!