Default Date Value

Contains tips for configurators working with Aware IM
Post Reply
pbrad
Posts: 781
Joined: Mon Jul 17, 2006 11:03 pm
Location: Ontario, Canada

Default Date Value

Post by pbrad »

Hi,
I have a form where I would like the 'From Date' Date field to have a default value of the first day of the previous month and the 'To Date' to have a default value of the last day of the previous month. I can't seem to make the syntax of the 'FIRST_DAY_OF_PREV_MONTH' function to be accepted as the Initial Value in the attribute. Is this possible or do I need to create a rule that sets the value to this function on initialization? Or am I totally off base?
Thanks,
Pete
pbrad
Posts: 781
Joined: Mon Jul 17, 2006 11:03 pm
Location: Ontario, Canada

Better still

Post by pbrad »

Actually, on further thought, is is possible to set the date picker to show the previous month for a particular attribute on a particular form rather than the current month?
aware_support
Posts: 7523
Joined: Sun Apr 24, 2005 12:36 am
Contact:

Post by aware_support »

Your idea about the initialization rule is perfectly correct - this is exactly what you should do. As for the date picker - it will show you the previous month only if the date is initialized to this month.
Aware IM Support Team
pbrad
Posts: 781
Joined: Mon Jul 17, 2006 11:03 pm
Location: Ontario, Canada

Post by pbrad »

Great thanks!
Post Reply