function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Bryan Leaman 6Bryan Leaman 6 

lightning is there a way to iterate over all the inputfields in a recordeditform

I'd like to be able to iterate over all the lightning:inputfield components within a lightning:recordeditform. I've seen examples where all the form elements are given the same aura:id="formfield" and then using component.find("formfield"), but I also need to retrieve specific field values and so I've assigned a unique aura:id to each field to accomodate that need.

Is there a way to get a list of all the input fields within the form?
Best Answer chosen by Bryan Leaman 6
Raj VakatiRaj Vakati
I dnt think so .. you need to add them in form manually all fields