Date field displays in incorrect format on Short description field
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2023 05:19 PM
Hello,
I have a catalog item form that contains a date field. The date format appears correctly when you look at it on the form before submitting and also on the RITM form after submitting (Australian date format is DD/MM/YYYY).
I have added a script to copy this variable and one other to the short description field but the date on the short description field is displaying in reverse. How can I make the short description date display the same was the variable date.
Script is:
//Copy content from variable to RITM description field on RITM form.
current.short_description=current.short_description +" - "+current.variables.who_for +" - "+current.variables.start_date;
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-16-2023 06:49 PM
HI @riskay123
getByFormat method may help you。