Follow the steps below to load any content field with Glazed Builder via Ajax in your website:

  1. Click on the + icon.
  2. Click on the Glazed Container element.
  3. Optionally, select Container type in Type select list.
  4. Optionally, select element with type you've already selected in Name select list.
  5. Once you’ve selected your preferred settings, you can click on Save Changes and element will be loaded via Ajax!
  6. After the element is loaded into the page, it will come with its own Glazed Builder controls. If you change and save anything inside the Ajax container, it will update the content item in this container but not in the outer Glazed Builder container. 

How the Glazed Builder Container element works

  • When you add this element Glazed Builder it will first present a list of all fields that are configured to use Glazed Builder as field formatter.
  • For each field you select in the first dropdown, Glazed Builder is loading all content items that have this field.
  • There is a 2-way binding between the Ajax container and the content item you loaded via Ajax. Any changes you make to this item will be reflected everywhere this content item is used in your webiste.