Update or change field values in the onsubmit event of lightning:recordeditform
INTRODUCTION Occasionally, there may be a need to include or alter field values during the onsubmit event of lightning:recordeditform. In the following example, I am creating a record for the ‘Lead’ object using lightning:recordeditform, and within the onsubmit event, I am appending the ‘Description’ field value for the ‘Lead’ object. Aura Component: JavaScript controller: