Template Design Studio – Object Update Function Presets
The following table presents some examples for using Function Presets when updating an Object in Template Design Studio. For further information, refer to Topic Document – Template Design Studio.
The Field You Want to Add | The Preset You Select | How It Displays in the Text Field | How You Edit | How It Will Display in the Template |
---|---|---|---|---|
A Fixed Date | Format Date (Blank for current Date -formatdate(Value,Format,Weekday Option) | <?formatdate(<VALUE>,<DATEFORMAT>,<DAYOFWEEKOPTION>)?> | <?formatdate(07/04/2020,January 01 yyyy,LONG)?> | Saturday, July 04, 2020 (Where you want a specific date printed in Full (Long) Day-of-the-Week, Full Month, Two-digit Day, YYYY format.) RecTrac Template Design Studio offers many variations for date formatting. Click Here for the full list of accepted Date Formats, examples, and basic instruction for using the Format Date Preset. |
A Floating Date For Example: Original Member Date |
Format Date (Blank for current Date -formatdate(Value,Format,Weekday Option) | <?formatdate(<?SADETAIL_OriginalMemberDate?>,<DATEFORMAT>,<DAYOFWEEKOPTION>)?> | <?formatdate(<?SADETAIL_OriginalMemberDate?>,jan 01 yyyy,NONE?> | <x> Date in MO/DD/YYYY format, where the date listed is the original member date on a Pass Membership. For Example: Jun 18, 2014.) |
A Fixed Time in hhmm Format | Format Time - formatTime(value,HH:MM am) | <?formatTime(<VALUE>,HH:MMam)?> | <?formatTime(7:30p,hh:mm)?> | 19:30 (Where the time you want printed is seven-thirty pm in "Military" format.) |
A Floating Time in HH:MMa Format For Example: A POS Ticket Begin Time |
Format Time - formatTime(value,HH:MM am) | <?formatTime(<?PSTicketMain_BeginEventTime?>, HH:MMam)?> | For this example, you would accept the default entries. | 7:30pm (Where the time displayed is the starting time of the event. |
A Service Item Price up to $999.99 | Service Item Price - ServiceItemPrice($ zzz9.99) | <?ServiceItemPrice(<FORMAT>)?> | <?ServiceItemPrice($ zz9.99)?> | $ <xxx.xx> (Where xxx.xx is the price in dollars and cents. For Example: $ 135.45.) |