Home › Forums › VW Theme › VW PET SHOP PRO THEME › Theme is generating a javacsript error
Tagged: Javascript, theme
- This topic has 13 replies, 3 voices, and was last updated 5 years, 5 months ago by
developer vwtheme.
-
AuthorPosts
-
September 12, 2019 at 8:59 am #22651
John Hotham
ParticipantHi Support
Since we spoke last and directly, after my purchase of your theme plugin (pet-shop-pro), I’ve naturally just got on with growing my site with the main attention going towards building an intuitive application form.
To do this, I purchased some further plugins; NEX-Forms.
While the form is looking good and generally doing what I need it to do, it seems that I have hit a road block.
After speaking with NEX-Form support and they have been very responsive in trying to resolve a math and conditional logic issue; all attempts have led back to yourselves, or rather the theme. While I say yourself, you may need to check to ensure its not yours (plugin), or a core product, i.e. Sirat theme.
PROVIDED BY NEX-FORMS::==============
Hi,
You theme is generating a javacsript error:
SyntaxError: missing name after . operator
…);c.src=a,c.defer=c.,b.getElementsByTagName(“head”)[0].appendChild(c)}var g,h,i
[image attached]Please ask your theme’s author take a look at this and fix. If fixed this should resolve the other issues as well.
Kind regards
Paul
EMAIL END: ====================Work Access::
The problem can be found here and may be systemic, digging through, or updating of, your coding maybe required: https://bramblewoodkennels.co.uk/test-form/
There is an Admin-temp portal, should you need it. If you need my assistance, please ask and I’ll sort out any updating of coding required.
Kind Regards
John-
This topic was modified 5 years, 6 months ago by
John Hotham. Reason: reading
September 12, 2019 at 9:16 am #22658developer vwtheme
ParticipantHi,
We have not found this error on the website. If you could elaborate on the issue you are getting then we can help you or suggest you the solution.
Thanks
Thanks
September 12, 2019 at 11:15 am #22667John Hotham
ParticipantHi,
Thanks for responding… the link on the surfuce is not going to offer any answers as such; however, the message above does. The form is built up of both [conditional fields] and {math_results}.
Issues:
First issue is, that the conditional fields are not firing: I can see the script attempting to load in the bottom left of the browser, but something is stopping it from completing the [conditions] process.
Second issue is, that none of the {math_result} are working: apologies, I can only get one to work if it is the only one on the form, as soon as I try to create a second {math_result} it stops all math logic from working.Work Done:
Spent a few days with NEX-Forms, and have provided the below Screen Shots. It is not the firewall, captcha, or the browser – as I’ve tested it on three (Chrome, Waterfox, and Edge) and all return the same result. Checked Caching and other related software. I’ve sorted through all other plugins. Additionally, I have also chatted with my host provider for third party support; for PHP version, mysql and other server side aspects as well as testing my .htaccess file – just in case. Everything checks out fine.Identifying:
The conditional Fields are set to work on Radio and Select Fields
1: Number of Pets (1-3), then reveals the second set of conditions (2:)
1a: also is part-one of first {math_result} 1=1, 2=4, 3=9
2: Worming Regime (Yes or No), Yes = (Date) No = (unable to continue application)
2a: Forms part of the booking, {math_result} is not reading the calendar… [number of days] = {departure}-{arrival}
3: Payment Method (Cash or Card), which reveals {math_result} as: Cash = {1}*{3}, or Card = ({1}*{3})+1
4: Terms and Conditions (Yes or No), which reveals the Submit button.So, alot has been done prior to coming to yourselves.
Screen Shots:
a.
b.Hope this helps you along..
Kind Regards, John
-
This reply was modified 5 years, 6 months ago by
John Hotham. Reason: file type
September 13, 2019 at 4:34 am #22722developer vwtheme
ParticipantHi,
Does it seem that you have added an additional plugin for the form?
Many Thanks!
September 13, 2019 at 9:32 pm #22854John Hotham
ParticipantHi,
Sorry, I’m not following you; you’ll need to be clearer than that!
Alternatively. NEX-Forms…! I’ve told you here twice, and they’ve done their bit. I’m now asking for you to look in to this too, please?
KR, John
September 13, 2019 at 9:38 pm #22855John Hotham
ParticipantSite is running fine too…
September 13, 2019 at 9:57 pm #22858John Hotham
Participant…I’m running Sirat as a defualt wordpress theme, with pet-shop-pro as a plugin.
September 14, 2019 at 4:25 am #22874developer vwtheme
ParticipantHi,
So what issue you are facing now?
Kindly please let us know so that we can help you.
Many Thanks!
September 14, 2019 at 6:09 pm #22931John Hotham
ParticipantHi!!
Please read the above posts, all inforamation is held there..
KR, John
September 16, 2019 at 7:53 am #23054developer vwtheme
ParticipantHi,
We are updating the theme.
You will soon get an update into your account.
Many Thanks!
September 19, 2019 at 8:09 am #23432John Hotham
ParticipantHi,
Appreciated… Look forward to the update.
KR, John
September 19, 2019 at 10:56 am #23445developer vwtheme
ParticipantGreat!
October 14, 2019 at 1:36 pm #26098mj w
ParticipantHow do you update?
October 15, 2019 at 10:40 am #26190developer vwtheme
ParticipantHi,
What do you want to update?
Kindly please let us know so that we can help you.
Many Thanks!
-
This topic was modified 5 years, 6 months ago by
-
AuthorPosts
- You must be logged in to reply to this topic.