Support

Account

Home Forums Add-ons Repeater Field Using jQuery on Repeater Field Rows Reply To: Using jQuery on Repeater Field Rows

  • What is triggering the jquery to run? What element have you attached your JS to.

    When using js you need to use field keys

    What you need to do is find the current row.

    
    // element represents an field 
    var row = element.closest('acf-row');
    

    one you have the row then you find a field in the row, I a assuming a field of type “input”

    
    var field = row.find('[data-key="your field key"] .acf-input input');