Support

Account

Home Forums Front-end Issues Front-End Form with template (and The Events Calendar) Reply To: Front-End Form with template (and The Events Calendar)

  • With TEC 3.5.1, ACF 4.3.7 and WP 3.9 I am getting a similar JS error again.

    The following snippet works to resolve a similar issue with the jquery-ui-datepicker dependancy. It does de-activate the datepicker, which in my particular use case is not needed. I’m not sure why the conflict occurs in the first place either – but hopefully it helps for another future version to resolve conflict.

    
    wp_dequeue_script('acf-input' );
    wp_deregister_script('acf-input');
    wp_register_script('acf-input', '/wp-content/plugins/advanced-custom-fields/js/input.min.js', array('jquery', 'jquery-ui-core'), '4.3.7');
    wp_enqueue_script ('act-input' );