Urgent: Submit button not submitting. Kind Atten: Mr Nikola

SupportUrgent: Submit button not submitting. Kind Atten: Mr Nikola
mkrishna123 Staff asked 4 years ago
Hi Nikola,   i installed EA plugin part of my website. When I am in the admin WP mode, submit works with the transaction happening when i was testing the site and my appointment is saved. But when i am accessing the regular site without logged in as admin to the WP panel, submit does not do anything. After clicking it is disabled. here is my website indusboutique.com. Plugin is installed part of Make an Appointment page.. I need to get this going since we are reopening soon. Any help from the author is appreciated.
10 Answers
Nikola Loncar Staff answered 4 years ago
Hi, if you have caching system on your site please turn it off for page where that EA form is. Best regards, Nikola
mkrishna123 Staff replied 4 years ago

Mr Loncar,

Thanks for the prompt reply. Where do I see that caching system option? I am using WP to render my site.

mkrishna123 Staff replied 4 years ago

Mir Loncar,

I tried to locate the caching system but to no avail. i am not a professional web site builder. I can’t get the submit button to work. Please help me out. Check my web site and let me know.

mkrishna123 Staff replied 4 years ago

I tried to debug. When I hit submit button i get this error on the javascript console:

GET https://indusboutique.com/wp-admin/admin-ajax.php?location=1&service=1&worker=1&date=2020-05-20&end_date=2020-05-20&start=15%3A00&check=4649b2a197&action=ea_res_appointment 400
send @ jquery.min.js:2
ajax @ jquery.min.js:2
v. @ jquery.min.js:2
singleConformation @ frontend-bootstrap.js?ver=2.13.3:937
d @ jquery.js?ver=1.12.4:2
dispatch @ jquery.js?ver=1.12.4:3
r.handle @ jquery.js?ver=1.12.4:3
frontend-bootstrap.js?ver=2.13.3:943

Uncaught TypeError: Cannot read property ‘message’ of undefined
at Plugin. (frontend-bootstrap.js?ver=2.13.3:943)
at Object.s (jquery.min.js:2)
at l (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at T (jquery.min.js:2)
at XMLHttpRequest.r (jquery.min.js:2)

mkrishna123 Staff replied 4 years ago

I need to get this fixed. Please help

mkrishna123 Staff answered 4 years ago
Mr Loncar, Can you please look into this. Urgent  
Nikola Loncar Staff replied 4 years ago

Hi, can you please share the link to the page with EA form?

Best regards,
Nikola

mkrishna123 Staff replied 4 years ago

Here it is.
https://indusboutique.com/appointments/

mkrishna123 Staff answered 4 years ago
Here it is.
https://indusboutique.com/appointments/   Thanks for helping. I need to get this setup since the business will be opening soon to take appointments.
Nikola Loncar Staff answered 4 years ago
Hi thanks for link. I was able to submit appointment via form without any error? Have you changed anything in meanwhile? Best regards, Nikola
mkrishna123 Staff replied 4 years ago

Nope, i did not change anything. You try multiple times and it will not work. Randomly it works 1 or 2 times and it stops. Try multiple times again.

mkrishna123 Staff answered 4 years ago
Are you looking into this?
Nikola Loncar Staff answered 4 years ago
Hi, you have error on that page regarding Uncaught TypeError: $(...).carousel is not a function code. Can you please exclude that from your page? Best regards, Nikola
mkrishna123 Staff replied 4 years ago

Dont know how. I am not a progammer. Let me know. I am running out of time

mkrishna123 Staff answered 4 years ago
Hi, I removed the carousel function call. i still get this error and submit does not working. Give me a solution now. Uncaught TypeError: Cannot read property ‘message’ of undefined
at Plugin. (frontend-bootstrap.js?ver=2.13.3:943)
at Object.s (jquery.min.js:2)
at l (jquery.min.js:2)
at Object.fireWith [as rejectWith] (jquery.min.js:2)
at T (jquery.min.js:2)
at XMLHttpRequest.r (jquery.min.js:2)
mkrishna123 Staff replied 4 years ago

this is happening in the plugin frontend-bootstrap.js. Mr Loncar can you expedite this and let me know if this is fixable

Nikola Loncar Staff answered 4 years ago

You need to remove this part:

$(document).ready(function() {
    $('#Carousel').carousel({
        interval: 5000
    })
});

Or put it under comment, because you don't have that JS lib and script is failing.
Best regards,
Nikola

mkrishna123 Staff answered 4 years ago
So I removed the entire following script in my Theme.Footer.php <script type="text/javascript"> $(document).ready(function() {     $('#Carousel').carousel({         interval: 5000     }) }); </script> I tested on mac and it works. But any windows machine it is not working. Please let me know if there is a solution or  I cannot use your plugin. I am not sure how you tested this since I removed that shortcode. I put it back. Test it on a windows machine and let me know.   
Nikola Loncar Staff answered 4 years ago
Hi, thanks for the update. Can you please tell me what you were using for testing on Windows? Is it Chrome browser? Best regards, Nikola
mkrishna123 Staff replied 4 years ago

Chrome. it should work on any browser unless there are restrictions. Right now I am not running your plugin. If it is fixable let me know.