I have 2 form with different design since one is for desktop and another for mobile but they share the same html and the captcha works for only one of them.
In what way can I solve it? the hidden and the display none for this situation does not work. Also probe load them by include
but it's the same when you print it in the html just take the captcha for only one.
I hope you can help me.
Thank you very much!
<!-- desktop -->
<div class="hidden-xs">
<form>
<div class="form-group">
<input type="text" id="email" name="email" class="form-control input-cntct" placeholder="Mail" required>
</div>
<div class="form-group">
<div class="g-recaptcha" data-sitekey="------Site key-----"></div>
</div>
<div class="form-group">
<button type="submit" value="Send" class="center-block">Enviar</button>
</div>
</form>
</div>
<!-- mobile -->
<div class="visible-xs">
<form>
<div class="form-group">
<input type="text" id="email" name="email" class="form-control input-cntct" placeholder="Mail" required>
</div>
<div class="form-group">
<div class="g-recaptcha" data-sitekey="------Site key-----"></div>
</div>
<div class="form-group">
<button type="submit" value="Send" class="center-block">Enviar</button>
</div>
</form>
</div>