datapicker example on director edit form