dev/core#2522 Add in Submit Action and redirect handling post form submit
authorSeamus Lee <seamuslee001@gmail.com>
Fri, 9 Apr 2021 08:21:05 +0000 (18:21 +1000)
committerSeamus Lee <seamuslee001@gmail.com>
Fri, 16 Apr 2021 03:37:07 +0000 (13:37 +1000)
commitb6e1397372f97612f86f7b28d7023a5512537ffe
tree46f20b944ce04a02bee52bec5c457745a0e56592
parentb5c4d6c3572ab528062d6c2368750b6a5ff25182
dev/core#2522 Add in Submit Action and redirect handling post form submit

Move fields to the bottom of the config form and also rework the submission code as per suggestion from coleman and also ensure that the submit_action and redirect are exposed in the front end metadata

Remove debugging

Revmoe submit action field as no longer required

Make improvements as per Coleman's review

Update text as per Coleamn and fix regex to allos for ? = # & options in urls

Fix Regex to do some wildcard matching
ext/afform/admin/Civi/AfformAdmin/AfformAdminMeta.php
ext/afform/admin/ang/afGuiEditor/config-form.html
ext/afform/core/Civi/Api4/Afform.php
ext/afform/core/afform.php
ext/afform/core/ang/af/afForm.component.js
ext/afform/core/api/v3/Afform.php