jamroom datepicker

sbhadauria
@sbhadauria
10 years ago
129 posts
how can I use jamroom datepicker in template file
updated by @sbhadauria: 07/25/14 06:17:43PM
michael
@michael
10 years ago
7,746 posts
The datepicker is a form element. There is no function to use it in a template.

to use it in a form see how its done in the jrBlog module
    // Blog Publish Date
    $_tmp = array(
        'name'     => 'blog_publish_date',
        'label'    => 22,
        'help'     => 23,
        'type'     => 'datetime',
        'validate' => 'date',
        'required' => false
    );
    jrCore_form_field_create($_tmp);
sbhadauria
@sbhadauria
10 years ago
129 posts
Thanks for the update.

Tags