C
|
cgphp 8/8/2011 |
Place the code also in the "Process record values" event of edit pages. $temp = $values['your_int_field_name']; |
T
|
telematics author 8/8/2011 |
hi, |
C
|
cgphp 8/8/2011 |
In the "Before record updated" and in the "Before record added": $time_arr = explode(":", $values['your_int_field_name']); |
T
|
telematics author 8/8/2011 |
hi again, |
T
|
telematics author 8/8/2011 |
i just found out, that after "inline-edit", the field which was edited in (hh:mm:ss)-format will be interpreted as integer (seconds) and will be cutted at the first colon. e.g., when i enter 12:34:56, then after save it displays: 00:00:12. only after reload, it shows correctly 12:34:56. |
C
|
cgphp 8/8/2011 |
As workaround, place this code in the Javascript Onload event of the add and edit pages: this.on('afterSave', function(formObj, fieldControlsArr, pageObj){ |
T
|
telematics author 8/9/2011 |
sorry, |
C
|
cgphp 8/9/2011 |
Are you sure you have inserted the correct name for your list page ? The above piece of code reload the page after a record is added or updated. |
T
|
telematics author 8/9/2011 |
hmm, doesn´t work. javascript in my browser is on. |
C
|
cgphp 8/9/2011 |
Does firebug throw some errors ? |
T
|
telematics author 8/10/2011 |
no errors or warnings in firebug. debugging the page shows all steps, but no reload. |
![]() |
Sergey Kornilov admin 8/10/2011 |
If you need more help with troubleshooting post your application to Demo Account and open a ticket at http://support.xlinesoft.com sending your Demo Account URL. 'Demo Account' button can be found on the last screen in the program. |