{literal}
if (typeof jQuery !== 'undefined') {
    $(function() {
            $("#fm_{/literal}{$fd_field}{literal}").jdPicker({date_format:"dd MM YYYY"});
    });
} else {
        parent.jQuery("#fm_{/literal}{$fd_field}{literal}").jdPicker({date_format:"dd MM YYYY"});
}
{/literal}
{literal}
if (typeof jQuery !== 'undefined' && $("#fm_{/literal}{$fd_field}{literal}").length>0) {
    $(function() {
            $("#fm_{/literal}{$fd_field}{literal}").jdPicker({date_format:"dd MM YYYY"});
    });
} else if (parent.jQuery("#fm_{/literal}{$fd_field}{literal}").length > 0) {
        parent.jQuery("#fm_{/literal}{$fd_field}{literal}").jdPicker({date_format:"dd MM YYYY"});
}
{/literal}
Fix missing field error in picker js
Core: Fix missing field error in picker js
