I have two fields in my nintex form for share point 2016, one is a "user name" field and the other one is a "user department" field. The user name field is a people field and the user department field is a calculated field pulling information based on the index "user name" from the active directory.
I want to make the calculated value field i.e. the department field to be editable so that the user is able to overwrite the department name, in case if an incorrect department is associated with his name in the active directory. I tried some java script but it didn't work.
Thanks in advance.
Solved! Go to Solution.
You can't make a calculated field editable. I would make a new text field that a user can enter in a new department name, maybe with labels "Current Dept" over the calc field and "New Dept" over the text field .
If you are using responsive forms you can use a text field and a set value rule to populate the data from the user perspective. The setup I would go with:
Generally what we do in this situation is add an "Override?" Y/N checkbox. When that is checked, a Single Line of Text entry box appears over top (or beside) the calculated field. The workflow then takes the calc if it was an "N" and the override if it was a "Y".
I'm sure there's many ways to handle this, though.