Streaming live at 10am (PST)

Ability to show Success and Failure messages for exported forms


Hey guyz,

I added to my mail form following "action" attribute:
action="" the problem is, that website isn't now showing success message. I found here on forum that problem could be solved with Ajax. It does look like the page does now a full refresh with simpleform solution. I dont want to create a new "thank you" page and after submitting redirect to this new page. That isn't good solution for me.

So my question is: could anyone help me to create Ajax script and php for my website? My site is here: and the contact button is named with value="Odoslať Mail"

Whole form:

    <form id="email-form" name="email-form" data-name="Email Form" action="" method="post">
                  <label for="name">Vaše meno:</label>
                  <input class="w-input" id="name" type="text" placeholder="Vaše meno" name="name" data-name="Name" required="required">
                  <label for="email">Email:</label>
                  <input class="w-input" id="email" type="email" placeholder="Váš email" name="email" data-name="Email" required="required">
                  <label for="field">Text:</label>
                  <textarea class="w-input" id="field" placeholder="Napíšte nám..." name="field" required="required"></textarea>
                  <input class="w-button contact-button" type="submit" value="Odoslať mail" data-wait="Ďakujeme." wait="Ďakujeme." data-ix="buttons">

Thank you for your time,