I'm trying to automate form creation so that whenever a new post of a certain post type is created, it generates a new form with a product field populated with the values of several custom fields.
I'm achieving this by inserting new records into the wp_rg_form and wp_rg_form_meta tables, but when creating the wp_rg_form_meta record I'm a little uncertain about whether I need to have a unique id within the confirmations and notifications fields. I'd like to not have notifications at all, and have been using "a:0:{}" as the default value for that column.
My question is, is there a better way to create forms like this, with native Gravity Forms methods rather than by manipulating the database manually? And if not, how is the id in the confirmations field generated, and is that even necessary to submit the form? I'm having an issue integrating forms created this way with Cart66; products associated with these forms tend to have a price of $0.00 when added to the cart. I'd like to make sure I'm generating these forms properly.