Have a 'check field' button which validation fields for null and if null then a message box pops up when clicked. This works except for the date field which have a value default and display of MM-DD-YYYY. Why I can't get this to work..
if (datefield1.rawvalue == null) }
xfa.host.messagebox("not etc....)
}
I have tried formattedvalue ne null also and that do not work. I also have tried
var newdate.rawvalue = dafield1.formattedvalue;
if (newdate.rawvalue == null) }
xfa.host.messagebox("not etc....)
}
Thanks