I need a script that accounts for dates and blanks, my data has some blank records for a date field and when this occurs there is an error message.
Hi Cntui,
Can you provide an example of your data?
Best regards,
Juan
you could do a java script to check
var fielddate = record.fields.mydatefield;
if (fielddate == “”) {fielddate = “Your String here. A default date, no date, etc…”;}
use fielddate to display, or for other part of your script.
Now if this is for the template as datamapper should not care if the field is blank or not.