Home Forums EZY Template contact form dont work

This topic contains 7 replies, has 2 voices, and was last updated by  kochfede 3 months, 2 weeks ago. This post has been viewed 188 times

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #10029212

    kochfede
    Participant

    I have use your porto template, and now Iam using the ezy.
    Incontact form I had this ERROR!
    Invalid address: (Reply-To):
    in contact-form.php:
    // Step 1 – Enter your email address below.
    $email = ‘ventas@runupind.com.ar’;


    #10029216

    Support2
    Keymaster

    Hello, thanks for your purchase.

    Check if you have included on the footer of page the view.contact.js script. Like the image below:

    <script src="js/views/view.contact.js"></script>

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10029217

    kochfede
    Participant

    Hello Rodrigo, yes its include:
    https://jmp.sh/SmitGpu


    #10029218

    kochfede
    Participant

    If you want to see the code:

    <form class="contact-form" action="php/contact-form.php" method="POST">
    											<div class="contact-form-success alert alert-success d-none">
    												<strong>Success!</strong> Your message has been sent to us.
    											</div>
    
    											<div class="contact-form-error alert alert-danger d-none">
    												<strong>Error!</strong> There was an error sending your message.
    												<span class="mail-error-message d-block"></span>
    											</div>
    											<div class="form-row">
    												<div class="form-group col-lg-6">
    													<input type="text" value="" data-msg-required="Ingrese su nombre." maxlength="100" class="form-control" name="name" id="name" placeholder="Name" required>
    												</div>
    												<div class="form-group col-lg-6">
    													<input type="text" value="" data-msg-required="Ingrese su teléfono." data-msg-email="Porfavor, ingrese un teléfono válido." class="form-control" name="phone" id="phone" placeholder="Teléfono" required>
    												</div>
    											</div>
    											<div class="form-row">
    												<div class="form-group col">
    													<div class="custom-select-1">
    														<select class="form-control" data-msg-required="Seleccione un motivo" name="plan" id="plan" required>
    															<option value="">Seleccione un asunto...</option>
    															<option value="1">Quiero vender su línea de productos</option>
    															<option value="2">Quiero un diseño especial</option>
    															<option value="3">Otros motivos? (especificar en el mensaje)</option>
    														</select>
    													</div>
    												</div>
    											</div>
    											<div class="form-row mb-4">
    												<div class="form-group col">
    												<textarea maxlength="5000" data-msg-required="Por favor ingrese su mensaje" rows="5" class="form-control" name="message" id="message" placeholder="Mensaje" required></textarea>
    												</div>
    											</div>                                            
    											<div class="form-row">
    												<div class="from-group col">
    													<input type="submit" value="ENVIAR" class="btn btn-primary btn-rounded btn-4 font-weight-semibold text-0" data-loading-text="Enviando...">
    												</div>
    											</div>
    										</form>

    #10029219

    Support2
    Keymaster

    Hello,

    The image you sent show a signature and nothing related to the website.

    Anyway, if it’s already included please send an online test link with your website for us. So we can inspect the code, make some tests and help you with that.
    Also please share all code of your contact-form.php file with us. You can use a service like https://pastebin.com to generate a link with your code and share with us.

    Kind Regards,

    Rodrigo.


    #10029222

    kochfede
    Participant

    Sorry, wrong link, but its include.
    The test site its here http://www.runupind.com.ar/test/
    the php: https://pastebin.com/qDdafemE
    Regards


    #10029228

    Support2
    Keymaster

    Hello,

    Thanks.

    Inspecting your website we saw that your contact form don’t use an “email” field. This is the reason of the error.
    So in that case you can change to this:

    $mail->AddReplyTo($email, $_POST['name']);

    Also change the variable $debug to:

    $debug = 0;

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


    #10029264

    kochfede
    Participant

    Perfect! Now works great! Thxs


Viewing 8 posts - 1 through 8 (of 8 total)