Home Forums Arnold HTML Theme Contact Form Bugs

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #12759
    a1anm
    Participant
    Purchased

    I have installed the Arnold HTML 5 theme but the contact form doesn’t appear to be working as expected.

    There aren’t any validation errors on the fields though it appears from the code that there should be. The email won’t send if the email isn’t formatted correctly or if fields are left blank but the user isn’t shown any error messages.

    Also, when I send an email I get the email success message but the “Sending” message doesn’t disappear so both are shown.

    I noticed in web inspector that the file gridstack.min.map was missing (this is the same as in your example site). I found a version of this file online and used this (not sure if this is correct or not).

    It hasn’t fixed the above mentioned issues.

    #12766
    SeaTheme
    Keymaster
    Purchased

    Hi,
    thanks for reminding the problem.

    Please try to use the css to fix the sending issue add into last line of pagebuild.css:

    .contactform .success ~ .sending {
    	display: none;
    }

    link the js file:
    <script type='text/javascript' src='js/jquery-migrate.min.js'></script>
    here:
    js files

    p.s. you can remove the 2 js files from contact page

            <script type='text/javascript' src='js/jquery-ui.min.js'></script> 
            <script type='text/javascript' src='js/gridstack.min.js'></script>

    Regards!

    Bwsm

    #12846
    a1anm
    Participant
    Purchased

    Thanks! I added the above and the “Invalid Email” warning now appears for incorrectly formatted emails.

    However, the “Required” warning doesn’t show for any of the fields if the field is not completed.

    The message will send if both Name and Message are not completed.

    #12859
    SeaTheme
    Keymaster
    Purchased

    please leave your page url, thanks!

    #12869
    a1anm
    Participant
    Purchased
    This reply has been marked as private.
    #12872
    SeaTheme
    Keymaster
    Purchased

    please find the line 732 of /js/theme.pagebuilder.js

    update as:
    if($.trim($(this).val()) == '' || $.trim($(this).val()) == 'Name' || $.trim($(this).val()) == 'Email' || $.trim($(this).val()) == 'Required' || $.trim($(this).val()) == 'Invalid email' || $.trim($(this).val()) == 'YOUR MESSAGE'){

    #12873
    a1anm
    Participant
    Purchased

    That worked. Thanks!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.

Join Newsletter(FREE)

Subscribe to our newsletter to receive news & updates. We promise to not spam you, super promise!