I am creating a plugin. That enables users to create forms, & display these with shortcodes on a site. When creating a form (using custom post types), users will be able to add additional form fields with meta boxes.
My question: When a user creates a form (via custom post type), how do I store the field type so the shortcode knows which type to display for the form?