Body: <p>I have a form created with <a href="https://github.com/am-impact/amforms" rel="nofollow noreferrer">AM forms</a> that on submission does nothing. It doesn't go to the redirect url and nothing is saved to the database. Not sure what I am missing.</p>
  
  <p>Here is my simplified code:</p>
  
  <pre class="lang-html prettyprint-override"><code>{% set form = craft.amForms.getForm('clubMembershipApplication') %}
  
  &lt;form method="post" accept-charset="UTF-8" class="form-horizontal col-sm-8 col-sm-offset-2 bv-form"&gt;
    {{ getCsrfInput() }}
  
    {# This should always be here! #}
    &lt;input type="hidden" name="action" value="amForms/submissions/saveSubmission"&gt;
  
    {# Insert your forms handle. #}
    &lt;input type="hidden" name="handle" value="{{ form.handle }}"&gt;
  
    {# Optional: Redirect URL. Will redirect to current page by default. #}
    &lt;input type="hidden" name="redirect" value="membership/thankyou"&gt;
  
    various fields here
  
    &lt;div class="submit-btn-container col-sm-8 col-sm-offset-4"&gt;
        &lt;input type="submit" value="Submit" class="solo-btn btn"&gt;
    &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-09T15:40:21.513Z
Comments.Text: Are submissions enabled on the form in the control panel?
Comments.UserDisplayName: Cavell Blood
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-09T15:41:29.683Z
Comments.Text: Also, have you tried `{{ dump(form) }}` to see what it contains or `{{ form | length }}` to see if anything is being set?
Comments.UserDisplayName: Cavell Blood
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-09T15:43:56.967Z
Comments.Text: Actually `form` is being set properly if you are seeing the form in the first place. Otherwise Craft might give you an error because it wouldn't be able to access `handle` if `{{ form.handle }}` if it were `null`.
Comments.UserDisplayName: Cavell Blood
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-11-09T16:39:52.557Z
Comments.Text: @cavellblood save submissions is enabled. And {{ form | length }} outputs a number
Comments.UserDisplayName: CreateSean
Tags: <templating><plugin-amforms>
Title: AM Forms not Submitting
ThreadText: # AM Forms not Submitting
  
  (Asked by: username_0 on 2017-11-09)
  
  I have a form created with [AM forms](https://github.com/am-impact/amforms) that on submission does nothing. It doesn't go to the redirect url and nothing is saved to the database. Not sure what I am missing.
  
  Here is my simplified code:
  
  ```html
  {% set form = craft.amForms.getForm('clubMembershipApplication') %}
  
  <form method="post" accept-charset="UTF-8" class="form-horizontal col-sm-8 col-sm-offset-2 bv-form">
    {{ getCsrfInput() }}
  
    {# This should always be here! #}
    <input type="hidden" name="action" value="amForms/submissions/saveSubmission">
  
    {# Insert your forms handle. #}
    <input type="hidden" name="handle" value="{{ form.handle }}">
  
    {# Optional: Redirect URL. Will redirect to current page by default. #}
    <input type="hidden" name="redirect" value="membership/thankyou">
  
    various fields here
  
    <div class="submit-btn-container col-sm-8 col-sm-offset-4">
        <input type="submit" value="Submit" class="solo-btn btn">
    </div>
  </form>
  
  ```
  
  **Tags:** templating, plugin-amforms
  
  > **Comments:**
  > **username_1**: Are submissions enabled on the form in the control panel?  
  > **username_1**: Also, have you tried `{{ dump(form) }}` to see what it contains or `{{ form | length }}` to see if anything is being set?  
  > **username_1**: Actually `form` is being set properly if you are seeing the form in the first place. Otherwise Craft might give you an error because it wouldn't be able to access `handle` if `{{ form.handle }}` if it were `null`.  
  > **username_0**: @username_1 save submissions is enabled. And {{ form | length }} outputs a number  
  
  ---
  
  ## 0 answers
  
  