Okay
  Public Ticket #1606771
Contact form
Closed

Comments

  • Luis Afonso started the conversation

    Hi,

    my contact form is not presenting error messages. Even if mail.php exits with an error like:

    exit('<div class="error_message">Bot <strong>Detected</strong>.! Clean yourself Botster.!</div>');

    the "formSent" div message is always presented.

    How can I send errors to the page to let users know an error was raised sending the message?

    Thanks,

    Luis


  •  850
    Jelly replied

    Hello,

    Our non-customized form doesn't have Captcha. You need to go to /scripts/main.js:17 and add validation for captcha.

    Best Regards,
    Jelly Team

  • Luis Afonso replied

    And how do I do that? And what if I want to pass an error from mail.php?

  •  850
    Jelly replied

    Support is not covering customizations, I am afraid.

    Please go to https://studio.envato.com/ or https://www.upwork.com/

    Best Regards,
    Jelly Team

  • Luis Afonso replied

    Customizations?! What if mail does not work for some reason? It will always present the success message?

  •  850
    Jelly replied

    Please remove Captcha from the contact form so I can check it for errors.

    Best Regards,
    Jelly Team

  • Luis Afonso replied

    I mean errors raised in mail.php.

    What if mail function fails for any reason? Where can the user see an error instead of the success message?

    The form is working fine.

    Luis

  •  850
    Jelly replied

    Here's what we can offer at the moment: https://jellythemes.ticksy.com//article/8964/ for the Contact Form.

    Unfortunately, we aren't planning to add more functionality at the moment.

    I'll contact our developer, maybe there's a custom solution that could help.

    Best Regards,
    Jelly Team

  • Luis Afonso replied

    Returning an error from mail.php when it happens is good practice.

    Honestly, it's the first time I use a theme where error handling is ignored...

    Luis

  •  850
    Jelly replied

    From the answer of our developer: There is no an easy way to add error handling you want, it has to be developed from scratch and we don't plan to add this in the near future for Shoot.

    Best Regards,
    Jelly Team

  • Luis Afonso replied

    Thanks! If I knew that beforehand I wouldn't have bought this theme.

    From a developer point of view, this is unacceptable and bad programming.

    You should clear warn users on the theme description, because if mail doesn't work, it's impossible do let users know that their messages aren't delivered.

    Luis