Open MaCXyLo opened 7 years ago
hey, i try to add a new field to the form.
ajaxContactForm.php
$resultmsg = array(); $company = ""; .... // Company if($_REQUEST['acf_company']) { $company = trim(stripslashes ($_REQUEST['acf_company'])); }
acf-demo.html
!-- Field: Company --> <div class="form-group"> <label for="acf_company">Your Company</label> <div class="form-input-error-msg alert alert-danger"> <span class="glyphicon glyphicon-exclamation-sign"></span> This field is required </div> <input type="text" class="form-control validate" id="acf_company" name="acf_company" placeholder="Your Company"> </div>
However, i get everytime an error if i want to send the formular. any ideas?
Kind Regards,
What kind of error you get? Your code seems to be correct. Let me know.
hey, i try to add a new field to the form.
ajaxContactForm.php
acf-demo.html
However, i get everytime an error if i want to send the formular. any ideas?
Kind Regards,