I am supporting a team with the SharePoint site that is used to request tasks to be completed.

When the "Item ID"(Single Line of text) field is populated we want the "Date Item ID Generated"(Date type) field to be automatically populated.

The same thing would also be done for the Item reviewed fields. We are using this for various metrics so it is important for these dates to be accurate.

enter image description here

I have done quite a bit of research around this but, I can't find what we are looking for as everything that I have read is that the date field would be updated after the item is opened and saved again, which we don't want that to happen.

Any help will be appreciated.


You can achieve this in many ways as mentioned below:

  1. Calculated Column: Create 2 calculated columns, one for each date field you want to save. You can look for calculated date formulae here. Based on your text field, you can make your formula add the date to your calculated date field.

Note: Calculated columns will not take people & group, lookup, ID etc. fields in its formula, Source.

  1. Designer Workflow: Create & Run a workflow on item created and changed conditions which will check for your text fields and based on that will update the date fields.

  2. Javascript: One more way to achieve this is using javascript on the new and edit forms. Add your logic to javascript code and add it in content editor/script editor web part on new form and edit form.

Best way would be to use calculated columns.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.