I'm experimenting with the jQuery Repeater plugin to create multiple contacts via a single form. Using Civix, I've created an extension and a custom form. The form loads normally on the admin side, like:
http://site.org/wp-admin/admin.php?page=CiviCRM&q=civicrm/foo
What is the proper way to expose the form to the public site? The goal is to send the visitor to:
http://site.org/civicrm/foo
Once there, user will fill and submit the form, and the extension's hook will deal with the result. Given the warnings all over the docs about custom forms potentially breaking in future updates, does it even make sense to approach things this way? Or is it better to put the form on a WP page, using REST API calls to populate dropdowns and checkboxes, and deal with the result?
CRM_Core_Form
?