Please select another day issue

Support forumPlease select another day issue
4orange Staff asked 4 years ago
Hi there, Love your plugin. Worked like a charm on my testsite unfortunately it does not work in my live environment. http://cdp.4orange.nl/plan-een-consult/ On every date I click I get the same notification: Please select another day I looked in my settings and looked into the previous support tickets but I was not able to fix it. I hope you can help me. Thanks
Petrit
5 Answers
Nikola Loncar Staff answered 4 years ago
Hi Petrit, reason for that is simple. You have something called fancy-select working on your site and it is altering select fields so EA form can't find selected values that are hidden in your case. Solution is to turn it off for that page :) Best regards, Nikola
4orange Staff replied 4 years ago

Hi Nikola, thank you for your fast reply. I could not find this fancySelectStyling(); in my init.js file as described here https://easy-appointments.net/?s=fancy

I am not a programmer so I am a bit at loss how to turn this off at the moment. Any suggestions?

Thanks again.

Nikola Loncar Staff answered 4 years ago
Hi, don't worry about this. We will improve EA form so it can handle such change from fancy select etc plugins. It should be released within next day or two. Best regards, Nikola
4orange Staff replied 4 years ago

Great, thanks a lot. I have multiple clients who are using this form. So keep doing a great job.

Nikola Loncar Staff answered 4 years ago

Hi, if you don't want to wait new version here is quick fix. Open plugin folder and inside js folder find frontend-bootstrap.js and on line 305 replace this:

            data_prev.each(function (index, elem) {
                var option = jQuery(elem).find('select,input').first();

                options[jQuery(option).data('c')] = option.val();
            });

with this:

            data_prev.each(function (index, elem) {
                // var option = jQuery(elem).find('select,input').first();
                var input_field = jQuery(elem).find('.filter');

                options[jQuery(input_field).data('c')] = input_field.val();
            });  

after that make sure that you have hard reload of the page so new version of that JS file is presented. :)

Best regards,
Nikola

Nikola Loncar Staff replied 4 years ago

No need to change this, just update to the latest version 😉

Best regards,
Nikola

4orange Staff replied 4 years ago

Hi Nikolai, thanks for the message. I upgraded the plugin but unfortunately it has not soved the issue. I did a hard refresh and asked other people to try it out. Still not doing the job. What now?

grts,
Petrit

Nikola Loncar Staff replied 4 years ago

Hi Petrit it will be fixed asap.

Best regards,
Nikola

Nikola Loncar Staff answered 4 years ago
Hi Petrit can you please update to the latest version 2.14.3 and try again :) Best regards, Nikola
4orange Staff replied 4 years ago

You did it Nikola. Great job!
Thanks for your great support.

Kind regards,
Petrit

Nikola Loncar Staff answered 4 years ago
Hi Petrit, also one suggestion for you :) add this to custom style settings inside EA Settings > Customize page:
.ea-bootstrap .disabled .block { background-color: #f9f9f9; }
so overlay above form fields should look better :) Best regards, Nikola