If you're using the FormBuilderRefactor script to populate variable data in MegaEdit products and notice that some placeholder values (e.g. prices) are not displaying correctly, this guide will help you identify and resolve the issue. This commonly occurs when placeholder variables are not rendered due to layout formatting inconsistencies or missing layout assignments.
The issue may affect only specific users or layouts, and can be caused by a combination of script logic, font styling within placeholders, or incorrect layout configuration. This article outlines how to troubleshoot and fix these problems.
Use cases
- Placeholder values not displaying for specific users in MegaEdit products
- Text fields showing only partial or incorrect variable output
- Layout changes not saving or reflecting for end users
- Issues with default layouts not matching assigned layouts in Form Builder CSV
- Inconsistent font styles within placeholder text causing variable mismatch
Key settings in Infigo
- Form Builder Script Configuration: Admin > Dynamic Products > Edit Script Configuration
- Global Additional Data: Admin > Additional Upload Data > GlobalData
- Layout Assignment CSV: GlobalData > Flyers folder > e.g. HWB_FlyerA6_TeamEvent.csv
- Layout Editor: Admin > Product > Edit > MegaEdit > Layouts
- Resave Var Fields: Editor > Tools > Resave var fields (we updated variable values)
Step-by-step guide
- Open the MegaEdit product in the admin editor.
- Apply the layout you want to edit using the layout dropdown.
- Click into the text field containing the placeholder (e.g.
[++KidsCelebrationPrice-OffPeak++]
).
- Check for inconsistent font styles:
- Highlight each character in the placeholder individually.
- Ensure the entire placeholder uses the same font family and style.
- If styles differ, either:
- Delete and retype the affected character(s), or
- Select the entire placeholder, change to a different font, then switch back to the correct font.
- Click outside the text field to exit edit mode.
- Click Resave var fields (we updated variable values) in the editor toolbar.
- Save the layout using the Update Layout button.
- Ensure the user is assigned to the correct layout in the relevant CSV file (e.g.
HWB_FlyerA6_TeamEvent.csv
).
- If a user is not assigned a layout, the system will use the product’s default layout. Make sure the default layout is correctly configured.
Related links
For additional guidance, head over to the Infigo Academy or contact our Customer Support team.