Changeset 3385567
- Timestamp:
- 10/28/2025 04:43:32 AM (5 months ago)
- 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 37 37 } 38 38 39 // print_r($tag->name);40 41 39 $validation_error = wpcf7_get_validation_error($tag->name); 42 40 … … 59 57 $atts['type'] = 'text'; 60 58 61 // $class .= ' spf_validation';62 63 59 $atts['class'] = $tag->get_class_option($class); 64 60 $atts['id'] = $tag->name; … … 69 65 $atts['aria-required'] = 'true'; 70 66 } 71 if ($tag->has_option('field -type')) {67 if ($tag->has_option('field_type')) { 72 68 $atts['data-field-type'] = $field_type; 73 69 } -
advanced-date-time-field/trunk/includes/integrations/contact-form-7/fields.php
r3384622 r3385567 37 37 } 38 38 39 // print_r($tag->name);40 41 39 $validation_error = wpcf7_get_validation_error($tag->name); 42 40 … … 59 57 $atts['type'] = 'text'; 60 58 61 // $class .= ' spf_validation';62 63 59 $atts['class'] = $tag->get_class_option($class); 64 60 $atts['id'] = $tag->name; … … 69 65 $atts['aria-required'] = 'true'; 70 66 } 71 if ($tag->has_option('field -type')) {67 if ($tag->has_option('field_type')) { 72 68 $atts['data-field-type'] = $field_type; 73 69 }
Note: See TracChangeset
for help on using the changeset viewer.