-
AuthorPosts
-
December 8, 2015 at 3:26 pm #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.
December 8, 2015 at 8:05 pm #548981I’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.
- This reply was modified 8 years, 11 months ago by markgibbons243.
December 8, 2015 at 8:26 pm #549184It’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.
December 8, 2015 at 8:39 pm #549214For 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!
December 8, 2015 at 9:42 pm #549248Hi!
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,
BasilisDecember 9, 2015 at 12:40 pm #549644Thanks Basilis,
I’ve updated Enfold and WordPress but i’m still having the same issue.
December 15, 2015 at 10:22 am #552881December 17, 2015 at 11:24 am #554311Hey!
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,
IsmaelDecember 17, 2015 at 11:32 am #554315It’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
December 17, 2015 at 1:01 pm #554335In 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/
December 18, 2015 at 7:43 pm #555160Hey!
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,
YigitDecember 21, 2015 at 11:44 am #555848Hi @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.
December 21, 2015 at 2:16 pm #555909Hi!
We have reported the issue to our devs. Please kindly wait to hear from us. We will keep you updated.
Regards,
YigitDecember 21, 2015 at 2:41 pm #555929Hi!
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,
YigitDecember 21, 2015 at 3:18 pm #555947Hi 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?
December 27, 2015 at 10:23 pm #557618Hey!
We have informed our devs about it, they are looking into it. We will keep you updated.
Happy holidays!
Regards,
YigitJanuary 19, 2016 at 10:56 am #567745Hi @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.
January 21, 2016 at 7:16 am #569196Hey!
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.
January 21, 2016 at 8:24 am #569226Hi!
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!
IsmaelJanuary 21, 2016 at 11:22 am #569314Thank 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.
January 22, 2016 at 2:22 pm #570060Hey!
glad Ismael could help.
Use a different text editor, like Sublime, Text Wrangler, etc.
Cheers!
Andy -
AuthorPosts
- You must be logged in to reply to this topic.