I have my own list in SharePoint (in particular, MOSS 2007.). One field is the yes / no flag called "Any defects?" Another field is “Closed” and names the person who closed the ticket.
If there are no defects, I want the ticket to be automatically closed. If there is, then the "Closed" field should be filled in later.
I decided that I could set the calculated default value for Closed as follows:
=IF([Any defects?],"",[Me])
but SharePoint complains that I am referencing a field. I guess that makes sense; default values light up when a new list item is opened first for writing and there are no values in any fields.
I understand that it is possible to make a calculated field based on a column value, but in this case the field cannot be edited later.
Does anyone have any tips on how to achieve what I'm trying to do?
Is it possible to have an event like "OnSubmit" that allows me to execute some code at the save point of the list item?
Thanks.
source
share