Set WPUF form default in new posts?
Author | Posts |
---|---|
July 15, 2013 at 3:09 am 5958 | |
Tareq Hasan | Tareq, how do I set the default WPUF form in new posts created outside of WPUF? I want to do this so I can edit forms created independently of WPUF (using Gravity Forms). Is there a meta key, taxomomy, or WPUF function I can use to set the default edit form for new posts? |
July 15, 2013 at 4:03 am 5959 | |
Tareq Hasan | There isn’t a function to set the form ID. You can assign a form to a post by setting the meta key |
July 18, 2013 at 1:38 am 6084 | |
jgroob | Tareq, when I set the meta key _wpuf_form_id using Gravity forms, the default form ID is not set, although I can see the correct value of that key when I manually set the form ID in the post and then use the WPUF editor to view the results. Do I perhaps need to manually set a different key at post creation? I do see two new custom fields are now available in the post custom field dropdown menu: wpuf_form and wpuf_form-settings. Thanks. |
July 18, 2013 at 4:55 am 6097 | |
Tareq Hasan | So I guess Gravity forms is not assigning the meta key correctly. If it would, the form should’ve been set and it would use the right form. the |
July 18, 2013 at 10:02 am 6103 | |
jgroob | Would the correct form of the key be _wpuf_form_id or wpuf_form_id? |
July 18, 2013 at 2:20 pm 6106 | |
Tareq Hasan | That would be |