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
Haarika YerubandiHaarika Yerubandi 

Can someone tell me how I can get the values in Target inside a proxy in javascript?

So basically, my form is the proxy and I am trying to fetch the values of the form and by looping them I want to throw an error. Here is the proxy as seen from debugger console.User-added image

 
var listForm = component.find("form");
        console.log(listForm);
        
        var i;
        for(i=0; i<listForm.length; i++){
            
            console.log(listForm[i]);
            
        }

 
Rajiv Penagonda 12Rajiv Penagonda 12
how are you defining proxy here? Is that an attribute or an element with aura:id = form ?
Haarika YerubandiHaarika Yerubandi
Yes, it's an element with aura:id = form
Rajiv Penagonda 12Rajiv Penagonda 12
can you share source code of the form here? Are there multiple forms with same aura:id?

-Rajiv