Form Module - view/_blocks - and submit button confusion.
Hello,
I am trying to set out the template block file correctly. As you can see I am using Bootrstrap (v4) here to layout the form, bit of a kludge to get it work, but all good so far.
However, if I complete all the fields - Excluding the recaptcha object (v2 installed) and hit submit no warns that I have yet to complete the recaptcha appear - the page goes ahead and reloads.
/* i've used the form slug here in the action */
<?php foreach($fields as $field) : ?>
<?=$field['label']?>
<?=$field['field']?>
<?php endforeach; ?>
Comments
<?=display_errors()?>
g-recaptcha-response: {empty}
Whatever the case maybe no email is being received.
EDIT: Just looked under Form Entries in Fuel and there is any entry from Friday, but none from this Morning suggesting something work :S
Also, is the form embedded on a page created in the CMS. If so, turn of page caching for that page.
No, it's not reaching the CI_Controller class.
In principle is this correct? (sorry I just noticed my original post was missing html tags)
action="<?=site_url('forms/process/my_form_slug")?>
In the Actions tab I have an empty Form action field, lorem ipsum in 'After submit text' (which doesn't show anywhere), my email address in Email recipients, a subject heading and an email message containing the words 'test message'.
And a Return URL in the field.
----
I have a feeling nothing in this Tab is missing used. :S