Skip to content

Populate super form fields with custom post meta values #56

Answered by RensTillmann
DIGITAL-ON asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

"but it works only on the current post (which is the page that embeds the super forms), not on a custom post type."

I don't think the above is true, you should be able to retrieve meta data with that tag from any post type. In the end, a custom post type is still a "post". So you should be able to use {post_meta_*****} tag to retrieve any custom post meta data from the current post the form is on.

There is no filter hook at the moment to directly change the default value of a field.

You might/could create a custom shortcode function and set the shortcode inside the default value, but I don't know if that will work, but it might work.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RensTillmann
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants