submitDetails: function (component, event, helper) {
var selectCmp = event.getSource();
console.log("selectCmp", selectCmp);
var questions = component.find("questionEditForm");
console.log("questions", questions);
if (Array.isArray(questions) == true) {
questions.forEach((form) => {
console.log("form" + form);
form.submit();
});
} else {
questions.submit();
}
component.find("editForm").submit();
component.set("v.isQuestionChange", false);
console.log("check save");
}
How can I modify the field value of each edit form before form.submit(); I have trouble when I modify things in the process builder then my aura page load before the process builder finish, the information don't up to date.
recordEditForm
in an iteration?