Workflow Soluiton

 View Only
  • 1.  Can't default DatePicketComponent to None

    Posted Jul 28, 2010 09:01 AM
    I can't figure out how to not require a datepickercomponent to not have a default value. It always comes up with todays dates when the forms loads regardless of not setting a default date.


  • 2.  RE: Can't default DatePicketComponent to None

    Posted Jul 28, 2010 09:23 AM
    The reason has to do with the underlying data type.  In most systems there is no such thing as a "NULL" date/time variable.  Its worth noting that even if the user deletes the value in this component, and then exist the form, in most cases it will still output whatever the default variable was.

    Best solution I have found is to pick some sort of default value to represent NULL and then check for it once you exit the form.  In many systems this is 1/1/1900 12:00 AM.

    Hope this helps.  If anyone has a more elegant solution for Workflow I would love to know.