One form for creation, one for edition

This topic contains 2 reply and 2 voices, and was last updated by noomia 11 years, 6 months ago
Viewing 2 Posts - 1 through 2 (of 2 total)
Author Posts
May 28, 2013 at 1:01 pm 4276
noomia Hi Tarek ! I have a custom post type "companies" and I have a WPUF form related to it. But for some reasons, I want one form for the creation (with 5 fields for example), and a advanced form (with 25 fields) for the edition. How could I make them work together ? Thanks
May 28, 2013 at 1:08 pm 4277
Tareq Hasan Tareq Hasan

At this point, I didn’t expected this question from you 😉

Add an action at the wpuf_add_post_after_insert action and change the posts _wpuf_form_id meta to your edit forms ID.

May 28, 2013 at 1:13 pm 4278
noomia noomia

Ahah sorry, I was lost in complicated things and have forgotten the simplest ones :p !

Viewing 2 Posts - 1 through 2 (of 2 total)