All,
I have a customized NewForm for my SP2013 List. It has three fields that the user doesn't need but should get updated depending on the text they enter in other fields. However since these fields are hidden they won't get updated. Why can't I update hidden fields?
var InformationFieldEncrypted = SPUtility.GetSPField('Information Required Encrypted');
var JustificationFieldEncrypted = SPUtility.GetSPField('Justification Encrypted');
var BackgroundFieldEncrypted = SPUtility.GetSPField('Background Encrypted');
$().SPServices({
operation: "GetGroupCollectionFromUser",
userLoginName: $().SPServices.SPGetCurrentUser(),
async: false,
completefunc: function (xData, Status) {
var xml = xData.responseText;
if (xml.search('Samenwerkende Eigenaren') != -1)
{
var feedbackField = $("input[title=Information Required Encrypted]");
feedbackField.parent().parent().parent().hide();
var feedbackField = $("input[title=Justification Encrypted]");
feedbackField.parent().parent().parent().hide();
var feedbackField = $("input[title=Background Encrypted]");
feedbackField.parent().parent().parent().hide();
var feedbackField = $("input[title=Comments Encrypted]");
feedbackField.parent().parent().parent().hide();
_spBodyOnLoadFunctionNames.push("hideEdit");
}
Is there a way to edit these fields on entering a new List item?
Marco