<p>I got this resolved by official support.</p>

<pre><code>When using the combined date input you'll need to include the exp_month and exp_year inputs as hidden fields in the form. 
</code></pre>

<p>And here's the working hidden fields:</p>

<pre><code>  &lt;input type="hidden" name="cardExpMonth" value="" data-stripe="exp_month"&gt;
  &lt;input type="hidden" name="cardExpYear" value=""data-stripe="exp_year"&gt;
</code></pre>

CC BY-SA 3.0
2017-02-07T20:35:22.313Z
2017-02-07T20:35:22.313Z
CreateSean
<p>I'm working on getting charge to take donations and have set up my Expiration date field the same as in the demos.</p>

<pre><code>&lt;div class="col-6"&gt;
    &lt;label for="cardExpiry" class="form-label"&gt;Expiration Date&lt;/label&gt;
    &lt;input type="text" class="form-control" data-stripe="exp"  id="cardExpiry" placeholder="mm / yy" required&gt;
&lt;/div&gt;
</code></pre>

<p>However on form submission (in test mode) I see this error.</p>

<blockquote>
  <p>Missing required param: exp_month.</p>
</blockquote>

<p>Not sure how to resolve this. Please advise</p>

<templating><plugin-charge>
Charge/Stripe and "Missing required param: exp_month."
# Charge/Stripe and "Missing required param: exp_month."

(Asked by: username_0 on 2017-02-07)

I'm working on getting charge to take donations and have set up my Expiration date field the same as in the demos.

    Expiration Date
    


However on form submission (in test mode) I see this error.

Missing required param: exp_month.

Not sure how to resolve this. Please advise

**Tags:** templating, plugin-charge


---

## 1 answers

### Answer by username_0 on 2017-02-07. Score: 3 | Accepted answer

I got this resolved by official support.
When using the combined date input you'll need to include the exp_month and exp_year inputs as hidden fields in the form. 

And here's the working hidden fields:


---

