This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
AlexeiKo
Hey, having a problem, but not found any resolution for this
Have simple form
<form id="form666" data-request="onSendForm">
<div class="form-header">
{{ 'CONTACT US'|_}}
</div>
<div class="field-group">
<input type="text" name="form_name" id="form_name" required placeholder="{{ 'Name'|_ }}" name="name" />
</div>
<div class="field-group">
<input type="email" name="form_email" id="form_email" required placeholder="Email" name="email" />
</div>
<div class="field-group">
<input type="text" name="form_tel" id="form_tel" required placeholder="{{ 'Telephone'|_ }}" name="phone" />
</div>
<div class="form-submit">
<input type="submit" name="submit" value="{{ 'CONTACT US'|_}}" />
</div>
</form>
But if I hit submit, it goes and the empty record is made. How can I cancel this? This will spam on me )
Thanks
1-2 of 2