Plugin Directory

Changeset 3385567


Ignore:
Timestamp:
10/28/2025 04:43:32 AM (5 months ago)
Author:
pluginscafe
Message:

update cf7

Location:
advanced-date-time-field
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • advanced-date-time-field/tags/1.0.1/includes/integrations/contact-form-7/fields.php

    r3384622 r3385567  
    3737        }
    3838
    39         // print_r($tag->name);
    40 
    4139        $validation_error = wpcf7_get_validation_error($tag->name);
    4240
     
    5957        $atts['type'] = 'text';
    6058
    61         // $class .= ' spf_validation';
    62 
    6359        $atts['class'] = $tag->get_class_option($class);
    6460        $atts['id'] = $tag->name;
     
    6965            $atts['aria-required'] = 'true';
    7066        }
    71         if ($tag->has_option('field-type')) {
     67        if ($tag->has_option('field_type')) {
    7268            $atts['data-field-type'] = $field_type;
    7369        }
  • advanced-date-time-field/trunk/includes/integrations/contact-form-7/fields.php

    r3384622 r3385567  
    3737        }
    3838
    39         // print_r($tag->name);
    40 
    4139        $validation_error = wpcf7_get_validation_error($tag->name);
    4240
     
    5957        $atts['type'] = 'text';
    6058
    61         // $class .= ' spf_validation';
    62 
    6359        $atts['class'] = $tag->get_class_option($class);
    6460        $atts['id'] = $tag->name;
     
    6965            $atts['aria-required'] = 'true';
    7066        }
    71         if ($tag->has_option('field-type')) {
     67        if ($tag->has_option('field_type')) {
    7268            $atts['data-field-type'] = $field_type;
    7369        }
Note: See TracChangeset for help on using the changeset viewer.