This project has moved. For the latest updates, please go here.

can we use Calculate field in SPUtility.js

Nov 15, 2015 at 8:16 AM
i have a scenario that i have an calculate value in the list. i need to use it in edit form of that list. is it possible to use calculate field . I have tried using the field name...error says its "unable to get a Spfield named calcualte(my column name)"
Coordinator
Nov 15, 2015 at 10:50 PM
annejes,
Calculated fields don't display on NewForm or EditForm in SharePoint.

I can recommend an alternative though.
  1. Create another field (single line of text)
  2. Write some javascript code to perform the calculation.
  3. Use SPUtility to set the value and then make the field read only.
Hopefully this helps,
Kit