diff --git a/includes/create-contact.php b/includes/create-contact.php index 6fb2c82..fea25d7 100644 --- a/includes/create-contact.php +++ b/includes/create-contact.php @@ -264,6 +264,7 @@ public function create_contact_record( $params ) { // DT Fields case 'date': case 'text': + case 'textarea': case 'key_select': $fields[$field['dt_field']] = $lead_value; diff --git a/includes/post-type-active-forms.php b/includes/post-type-active-forms.php index 2896e60..f0e9c5a 100644 --- a/includes/post-type-active-forms.php +++ b/includes/post-type-active-forms.php @@ -287,6 +287,7 @@ public function load_extra_fields_meta_box( $post ) { case 'communication_channel': case 'text': case 'boolean': + case 'textarea': $this->template_row_dt_field_single( $unique_key, $data ); break; case 'location': @@ -505,7 +506,7 @@ function add_dt_fields( id ) { vInput.append(``) }) } - if ( 'text' === v.type || 'communication_channel' === v.type || 'date' === v.type || 'boolean' === v.type ) { + if ( 'text' === v.type || 'textarea' === v.type || 'communication_channel' === v.type || 'date' === v.type || 'boolean' === v.type ) { labels.append(``) } } diff --git a/includes/utilities.php b/includes/utilities.php index 24646b1..578c59e 100644 --- a/includes/utilities.php +++ b/includes/utilities.php @@ -162,6 +162,7 @@ public static function get_theme( string $theme = 'wide-heavy', string $token = } .input-textarea { height:80px; + width: 100%; padding: .2em; font-size: .8em; border: .5px solid #ccc; @@ -303,6 +304,7 @@ public static function get_theme( string $theme = 'wide-heavy', string $token = } .input-textarea { height:80px; + width: 100%; padding: .5em; font-size: 1.2em; border: .5px solid #ccc; @@ -562,8 +564,9 @@ public static function get_theme( string $theme = 'wide-heavy', string $token = } .input-textarea { height:80px; + width: 100%; padding: .5em; - font-size: 1.5em; + font-size: 1em; font-family: Arial; border: .5px solid #ccc; } @@ -723,6 +726,7 @@ public static function get_theme( string $theme = 'wide-heavy', string $token = } .input-textarea { height:80px; + width: 100%; padding: .5em; font-size: 1.2em; border: .5px solid #ccc; @@ -1225,6 +1229,20 @@ class="input-" +
+ + +
+