Viewing 21 posts - 1 through 21 (of 21 total)
  • Author
    Posts
  • #548791

    Hi Guys,

    On the below support topic I was informed that the bug found would be fixed on the next update. I can see something in the update notes that would suggest it was fixed but i’m still have exactly the same issue.

    https://kriesi.at/support/topic/form-element-validation-error/

    Any suggestions or fix updates would be greatly appreciated.

    #548981

    I’ve just realised the form is not working properly at all.

    Before the update it was just allowing someone to send the form without validating a ‘select element’ part of the form. Now it is not sending through the information at all. All i see is commas, and not the selected text.

    Any help on this would be hugely appreciated.

    Thank you all so much in advance.

    #549184

    It’s also stopping you from sending the form unless you do make a multiple selection on the ‘select element’ part of the form. It won’t let you just make one selection.

    #549214

    For the time being I’ve had to pull down the main forms as i fear customer may be leaving the page. I’ve changed the publicly visible ones to a more simple version.

    You can access the original forms in the private links below.

    If anyone can help me it would be really appreciated!

    #549248

    Hi!

    Posting multiple times, pushed your post to the end of the que, just so you know! :-)
    We have pushed a new update, 3h before.
    Can you please update the theme and let us know if the issue is still there?

    Thanks a lot

    Best regards,
    Basilis

    #549644

    Thanks Basilis,

    I’ve updated Enfold and WordPress but i’m still having the same issue.

    #552881

    Hi @Basilis

    Could I please have an update on this issue.

    Thanks for your help.

    #554311

    Hey!

    Is this happening on forms without the select element or with the select element but with less choices? Do you mind creating a temporary login details? I tried the one on the previous thread but I got locked out.

    Regards,
    Ismael

    #554315

    It’s only on forms with the select element, like this one – http://www.lemarkfloors.co.uk/a-form-test/

    Please also find temp log in details in the PC below

    #554335

    In addition to the above there was a temp fix added via the below link but this does not work for me.

    https://kriesi.at/support/topic/contact-form-no-longer-functioning-after-update/

    #555160

    Hey!

    It does seem like you are still using Enfold 3.4.6. Please update the theme to the latest version 3.4.7 – kriesi.at/documentation/enfold/updating-your-theme-files/

    Best regards,
    Yigit

    #555848

    Hi @Yigit,

    Sorry I should have mentioned i do updates on a test site to check everything works before updating the main one.

    I have now updated the main site and put a link below to a test form. The section for “Which Product Would You Like A Quote For?” still doesn’t validate properly.

    #555909

    Hi!

    We have reported the issue to our devs. Please kindly wait to hear from us. We will keep you updated.

    Regards,
    Yigit

    #555929

    Hi!

    Kriesi replied

    You can quick fix that by changing line 2836 in shortcodes.js to

    if(value == ” || value == null)

    If you would like us to apply the changes for you, please post FTP credentials here privately as well

    Regards,
    Yigit

    #555947

    Hi Yigit,

    That’s been applied but unfortunately it’s still not fixed the issue, if anything it’s made the Thank You page not load correctly. For that reason I won’t be able to leave that fix on there. Is there anything else i can try?

    #557618

    Hey!

    We have informed our devs about it, they are looking into it. We will keep you updated.

    Happy holidays!

    Regards,
    Yigit

    #567745

    Hi @Yigit,

    Is there anymore info on this? These errors really have been going on for quite some time now. I could start loosing out on business soon if this is not resolved. Please can someone help.

    #569196

    Hey!

    I tested the form (http://www.lemarkfloors.co.uk/a-form-test/), didn’t select any products and this is the email that I received:

    Name: Test
    Tel:: 123124234234
    Which Product Would You Like A Quote For?: null 

    .. this is the email when I selected a few products:

    Name: Test
    Tel:: 1223423423
    Which Product Would You Like A Quote For?: Astral™ Glitter,Coda™ Reversible 
    

    The validation error is still there but the contact form is working. If you can provide the FTP details, we’ll debug the issue.

    UPDATE: We found a patch for the shortcodes.js > avia_ajax_form > checkElements function which should fix the validation error.

    Best regards,
    Ismael

    • This reply was modified 8 years, 10 months ago by Ismael.
    #569226

    Hi!

    Seelct Validation Patch: Please try to modify the js > shortcodes.js then look for this code around line 2820:

    var currentElement = $(this),
                            surroundingElement = currentElement.parent(),
                            value = currentElement.val(),
                            name = currentElement.attr('name'),
                            classes = currentElement.attr('class'),
                            nomatch = true;
    

    .. replace it with:

    var currentElement = $(this),
                            surroundingElement = currentElement.parent(),
                            value = '',
                            name = currentElement.attr('name'),
                            classes = currentElement.attr('class'),
                            nomatch = true;
    
                            if(currentElement['context']['localName'] == 'select') {
                                value = currentElement.find(":selected").text();
                            } else {
                                value = currentElement.val();
                            }

    Cheers!
    Ismael

    #569314

    Thank you so much for your reply @Ismael

    I manage a few of Enfold theme sites and it would be really good to edit the code myself. I wounder if you could help, how do I view the code in lines (so i can find line 2820). When I view in notepad there’s little seperation between the lines.

    #570060

    Hey!

    glad Ismael could help.

    Use a different text editor, like Sublime, Text Wrangler, etc.

    Cheers!
    Andy

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