Logfield

rjransijn 25 May, 2010
I am trying to create a logfield with username and the edited date
So every time a record is edited, this data will be added to this logfield.

Logfield:
Username & Edited Date <br>
Username & Edited Date etc...

But in Chronoforms I only get this information when I create a new record. When I click the edit link via ChronoConnectivity this data is not updated.


This is the code I have for the log field, it only runs when a new record is made, not when I try to edit it..

<div class="form_item">
  <div class="form_element cf_textarea">
    <label class="cf_label" style="width: 150px;">Log</label>
    <textarea class="cf_inputbox" rows="3" id="text_15" title="" cols="30" name="log" ><?php echo $my->name; echo " " . date("Y.m.d"); ?></textarea>
    
  </div>
  <div class="cfclear"> </div>
</div>
rjransijn 25 May, 2010
I got an answer to my own question.

In the Frontend Settings of the form in Chronconnectivity. Under the option FrontEnd Edit Form -> Skipped fields I filled in the "Log" field and now it updates. 😀
This topic is locked and no more replies can be posted.