Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » Format data in a message
Re: Format data in a message [message #2030 is a reply to message #2024] Wed, 29 April 2009 18:55 Go to previous messageGo to previous message
gpatti is currently offline  gpatti
Messages: 283
Registered: August 2008
Senior Member
This was my original question really. Because I am within the _cm_post_insertRecord method I'm not sure on the most appropriate way to perform the formatting. For example, the date is showing in the format it will be written to the database 'YYYY-MM-DD'. Normally when I output the date the framework formats according to the date type configured. I'm not sure what functions I should use to perform this formatting 'manually'. Similarly for the field that has an optionlist in the fieldspec - within _cm_post_insertRecord it is formatted as the id and not the corresponding description from the optionlist.

I'm assuming this is because the data at this point has been 'unformatted' for writing to the database.

Hope that explains the question better.

Graham
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Dynamic Task Selection
Next Topic: column heading sorts
Goto Forum:
  


Current Time: Thu Nov 28 18:47:28 EST 2024

Total time taken to generate the page: 0.01004 seconds