Skip to content

Dynamic Meta Field retrieval based on a Related Post ID within JetFormBuilder #608

@marcodicarlo302-sys

Description

@marcodicarlo302-sys

The Goal: I need a fully dynamic workflow where a form field retrieves a Meta Field value from a CPT, using a Post ID that is generated in real-time within the same form.

The Setup:
Form Context: Editing a "Match" post (ID 358).

Source Field (squadra_casa_id): This field is populated dynamically via a Preset (Relation: Teams -> Match). For example, it gets the ID 116.

Image

Target Field (partite_casa): This field must automatically fetch and display the meta field partite_giocate belonging to the ID found in squadra_casa_id.

Image

In the Field Updater settings, I tried using the syntax query_id|meta_key, but I am unsure if this is correct when the Query Builder is already filtered by a JFB Macro. I need confirmation on the correct way to map the specific meta field value into the target field
The Core Requirement (Full Dynamicity): The solution must not rely on static IDs. The system must:

Read the ID from squadra_casa_id (which changes for every Match post).

Trigger a background request (via Query Builder or similar).

Return the specific meta value for that specific ID.

Technical Block: I have installed the Field Updater add-on and set up a Query Builder using the JFB Update Field macro as a filter. However, the "Target Field" does not seem to update its value dynamically when the "Source Field" receives the ID from the Preset.

Image Image

I am looking for a reliable way to connect these components without hardcoding IDs. Thank you for your help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions