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

Home » RADICORE development » Transaction Patterns » Calculated fields
Re: Calculated fields [message #4291 is a reply to message #4288] Wed, 25 June 2014 11:04 Go to previous messageGo to previous message
htManager is currently offline  htManager
Messages: 419
Registered: May 2014
Senior Member
I changed my database schema by inserting a column with type boolean where you can decide if the field will be calculated or not.

You said that nothing is sent until the submit button is pressed. That's ok for me because I now want to calculate the values after having pressed the submit button.

I tried to put my code for changing the values in $fieldarray in the custom method _cm_preInsertorUpdate($rows) in the class file. I tried to change the values of $rows with $rows['column_name'] = 'foobar'. But I didn't succeed. Is this a possible way or not?

Or do I have to use another custom method?
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: eMail sent automatically
Next Topic: Dropdown list
Goto Forum:
  


Current Time: Fri Jul 19 15:17:26 EDT 2024

Total time taken to generate the page: 0.01044 seconds