Hi,
I'm trying to do a simple data comparison using Javascript within a form guide. Here is what I came up with:
if (this.rawValue > util.printd("yyyy-mm-dd", new Date())) {
xfa.host.messageBox ("date cannot be in the future");
}
this works great on the PDF form, on the form guide it returns an error about "util" being undefined.
Is there a way to do this without having to manually parse date strings?
Regards,
Steve