Forums

calendar field is not working

dogmatic 29 May, 2017
Hi,

could you help me understand what i'm doing wrong in chromoforms v6. When i add Calendar field in my form it shows up as text field.
GreyHead 29 May, 2017
HI dogmatic,

Possibly a JavaScript error on the page???

Please post a link to the form so I can take a quick look.

Bob
dogmatic 30 May, 2017
Hi GreyHead,

thanks for replay, here is the link:
http://gaizauskobiuras.lt/v1/uzsiregistruokite
GreyHead 30 May, 2017
Hi dogmatic,

There is no problem is you view the form without the template - there is a JavaScript error with the template coming from line 77 of main.js. "window.addEvent is not a function". This code needs to be corrected:
    // Slideshow disaper and conflict with motools
    var carousel = jQuery('.carousel');
    if(carousel){
        window.addEvent('domready', function(){
            if (typeof jQuery != 'undefined' && typeof MooTools != 'undefined' ) {
                Element.implement({
                    slide: function(how, mode){
                        return this;
                    }
                });
            }
        });
    }

Bob
Leskma 30 May, 2017
And in the same example :
http://gaizauskobiuras.lt/v1/uzsiregistruokite?tmpl=component
Unable to pick a date in june ?
This topic is locked and no more replies can be posted.