Hi
I want to add a date field into Extended Client Fields (ecf) and for the template to offer the date picker script accordingly.
I have tracked down where to amend the presentation of the ecfs i.e. section_html.tpl and have experimentally added some code which I cobbled together from a submission date-type field :-
but although I get the calendar image the datepicker does not appear when it's clicked??
My guess is I need some includes in the .tpl but which do i need please? I see various references to date picker js and css files but not those that I read I needed on a date picker tutorial?
Thanks in advance for some guidance....
I want to add a date field into Extended Client Fields (ecf) and for the template to offer the date picker script accordingly.
I have tracked down where to amend the presentation of the ecfs i.e. section_html.tpl and have experimentally added some code which I cobbled together from a submission date-type field :-
Code:
{elseif $extended_field.field_type == "textbox"}
<input type="input" name="ecf_{$client_field_id}" id="last_date_id"
class="cf_datefield cf_datepicker" value="{$extended_field.content|escape}" /><img class="ui-datepicker-trigger" src="http://consideredresponse.netai.net/formtools/global/images/calendar.png" id="last_date_icon_id" />
My guess is I need some includes in the .tpl but which do i need please? I see various references to date picker js and css files but not those that I read I needed on a date picker tutorial?
Thanks in advance for some guidance....