Programming Date Picker

N

Nina

Hi, I used xdExtension but I don't know much programming so I don't know what
to write in MS Script Editor, I wanted the date picker to turn red if it
passes todays date, I was told to write:
function TestMyDate()
{
return true; //just to test
}
Inside TestMyDate() put the logic that you need.

but I don't know what I have to write inside TestMyDate(). The logic is I
want the function to return true if the value of the field "Due_Date" is
greater than today's date. I tried replacing the "return true" line with:

If Due_Date > Date return true

but it didn't work.
What should I write?
Thanx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top