Page 1 of 1

file upload field id not available in rsnew of row_updating

Posted: Wed Feb 21, 2018 5:35 pm
by kirondedshem

Fields with edit tag set to file upload are not available in rsnew of row_updating & row_updated events if they were not modified during an edit.

I am having a custom logging fucntion where I would still like the contents of the file upload filed to still be available during row_updating even if they have not been modified but Ive seen that instead, the field is eliminated from the rsnew array if you have not modified its contents during edit process.


Re: file upload field id not available in rsnew of row_updat

Posted: Thu Feb 22, 2018 9:49 am
by Webmaster

If a file upload field is not changed, rsnew will not contain the field. Just use rsold which should carry the old value.