Properly Display Repeater Query Options in Forms
This PHP snippet ensures that options generated from a Repeater Query in JetFormBuilder (for Checkbox or Radio fields) are displayed correctly. It assigns a unique object ID to each option and maps it back to the correct repeater item, allowing for proper dynamic data binding in forms.
Specifications
Properly Display Repeater Query Options in Forms
6 January, 2026
-
Plugin
-
Category
-
Programming languages
Installing Instruction
How to Add Snippets into the functions.php File of the Active Child Theme
- Copy the required code snippet to your clipboard.
- Navigate to WordPress Dashboard > Appearance > Theme File Editor.
- Click the functions.php tab to open the file.
- Paste the code snippet below the existing code in the Selected file content: area.
- Click the "Update File" page.
Example Use Case
Use this snippet to ensure options generated from a JetEngine repeater query display correctly in JetFormBuilder Checkbox or Radio fields. It assigns unique object IDs and maps options properly.
Applicable scenarios:
- Dynamic forms: Use repeater-based option lists reliably in JetFormBuilder forms.
- Custom content entry: Display nested or complex repeater data as form options.
- Advanced user input: Support dynamic, data-driven form elements binding to JetEngine data.
Specifications
Properly Display Repeater Query Options in Forms
6 January, 2026
-
Plugin
-
Category
-
Programming languages