Published on Sep 3, 2019
[Video] Workaround for Oxygen Repeater’s Duplicate IDs Problem
Sridhar Katakam
Update on 25 Oct 2021: The tutorial below has not been tested with the recent versions of Oxygen. You might want to try the newer methods shared in GitHub here instead.
Update on December 12, 2019: Use this plugin to fix the duplicate IDs problem in Oxygen’s Repeater components’ output.
In this
Summary:
Step 1
Add a class to elements of your Repeater and style the classes.
Step 2
Add a Code Block.
PHP & HTML:
<?php
// echo "hello world!";
?>
JavaScript:
jQuery(".oxy-dynamic-list").find("*").removeAttr('id');
Source
https://gist.github.com/wplit/7861b18ef34ffd955b43ddcacc9ef6e8