If you put a Date/Time control that is "Date Only", on a form, and set its value via this code:
NWF$(function(){ NWF$("#" + d3).val("01/01/2016"); });
Then add a validation rule on this control to prevent a blank date:
isNullOrEmpty({Self})
the validation rule will not undrestand its value, and show validation error message.
Now, if you set "Date Only" drop down to "No" on contorl settings dialog, this problem does not occure.
Why?