Is it possible to display the current date as a default but also change it to a different date or leave the field blank?
Thanks for any help!
if ($.rawValue==null)then$.rawValue = Num2Date(date(), DateFmt(2))else $.rawValueendif
radzmar • LoveCycle Blog Documents you need: • LiveCycle Designer ES2 Docs
create a date/time field and use this FormCalc script in the calculate event
If the field is blank, it will be filled with the current date.
To change the date, you can click on it and choose another date from the calender.
You can also delete the date and leave the field blank, but it will only be blank until you do another action in the form.
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs