• Resolved mooberrydreams

    (@mooberrydreams)


    I feel like I must be missing something very simple.

    I have a custom post type. I created a form for that custom post type and set the Post Type field on the settings screen.

    I have a page with the short code
    [wpuf_dashboard post_type="my_post_type"]

    and that’s working beautifully to display the table of items.

    The problem is when I click the Edit link on one of the items in that table, it brings me to the edit form for Posts. How do I specify that I want it to use my form for the custom post type?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello @mooberrydreams,

    When you click on edit link the edit form should appear with the fields of submitted form. So, please make sure the fields are same according to the submission form of the same post.

    Thank you

    Thread Starter mooberrydreams

    (@mooberrydreams)

    I’m sorry, I don’t understand your response. I’m not sure it answers my question.

    I have a form for my custom post type that has the correct fields. Call it form #122.

    I have a page with [wpuf_dashboard post_type="my_post_type"] that shows all my posts for that custom post type.

    How to I hook up the Edit link in that page to the form I created? It just goes to the form for standard posts (ie, form #121). I don’t see anywhere for me to tell it “Edit links in this dashboard should go to form 122”.

    Thread Starter mooberrydreams

    (@mooberrydreams)

    I think I figured it out. I had to edit the existing items in the custom post type and set the WPUF Form field. Hopefully that updates automatically going forward.

    Hello @mooberrydreams,

    Yes, you are right. If you edit existing items that were not submitted by WPUF form then you have to select WPUF form on the post edit page in wp-admin. The fields will automatically add to that post after updating.

    Thank you

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Custom Post Type forms’ is closed to new replies.