Support » Plugin: Forminator - Contact Form, Payment Form & Custom Form Builder » Form To Pull Custom Fields From A Post

  • Resolved TheBusinessCat

    (@thebusinesscat)


    Hi there,

    I have a few posts with job specs. I created the job spec listings using a custom post type with custom fields. At the bottom of these posts is a button, which will lead to a Forminator form to be completed by people interested in the job listing.

    I need to pull the information from the job spec post (like the job title) to the form, after the button is clicked?

    I am also using the Ultimate Member plugin and would like to pull some info from the membership details, like the name of the member, to the form as well.

    This will help with knowing which job is being applied for, and who has applied for the job.

    Thank you,

    Ryan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Adam – WPMU DEV Support

    (@wpmudev-support8)

    Hi @thebusinesscat

    i hope you’re well today!

    Some of the information such as e.g. user ID, username, e-mail address, post title and similar can already be fetched into fields of “HTML” and “Hidden” type. In case of “HTML” type field:

    – add a filed to the form
    – use a blue(ish) square icon in field’s settings content editor and select requested data that you want to fetch

    In case of “Hidden” type field, you can select such data from “Default Value (optional)” drop-down list in field’s settings.

    In both cases, however, this is a limited set of data and it’s also non-editable for users.

    Fetching any additional data (such as custom fields or custom user metadata or data from other plugins) would require additional custom code based on Forminator API and/or built-in action/filter hooks and WP core hooks. I’m afraid this would have to be custom coded.

    Kind regards,
    Adam

    Thread Starter TheBusinessCat

    (@thebusinesscat)

    @wpmudev-support8

    I am well thank you, hope you are well too.

    Thank you for responding.

    Regards,

    Ryan

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.