Question: I want to resize the search text box so that I can easily and see and edit long strings directly in it.
Is there any way to do that by modifying some CSS values(or HTML)?

Below is the text box of LinkedIn job search that I wanna make wider and taller:

![Below is the text box of LinkedIn job search that I wanna make wider and taller](https://i.stack.imgur.com/dM8XA.png)

[![CSS elements, can't find any width or height attributes in that](https://i.stack.imgur.com/7oLEZ.png)](https://i.stack.imgur.com/7oLEZ.png)

Answer: 
you need something like this:

```
<?php
// Get the submitted data
$submission = WPCF7_Submission::get_instance();

if ( ! $submission
     or ! $posted_data = $submission->get_posted_data() ) {
    return;
}

// Get the contact form additional data
$contact_form = $submission->get_contact_form();

// get the tag used in the form
$mail_tags=$contact_form->scan_form_tags();

// search into tags for country
$key = array_search('country', array_column($mail_tags, 'name'));

// get the country pipes values
$pipes = new WPCF7_Pipes( $mail_tags[$key]->raw_values );

// get an array with the pipes
$pipes_array = $pipes->to_array();

// get the choosen value
$pipes_val = array_search( $posted_data['country'][0], array_column($pipes_array, 1));

// finally!
error_log(print_r($posted_data['country'],true));
error_log(print_r("in",true));
error_log(print_r($pipes_array[$pipes_val][0],true));

```
I posted this answer in your other question. This should work.

```
add_action( 'wpcf7_before_send_mail', 'cf7_pipes_so_67686211');
function cf7_pipes_so_67686211( $contact_form ) {
    global $wpdb;
    $mydb = new wpdb('user','password','database','localhost');

    // Get Form Tags
    $tags = $contact_form->scan_form_tags();
    $pipe_array = array();
    // Find the Values of the Pipes
    foreach ($tags as $tag){
        if ($tag->name === 'primarybusiness'){
           $pipe_array = $tag->pipes->to_array();
        }
    }
    // Get the form data
    $form_to_DB = WPCF7_Submission::get_instance();
    if ( $form_to_DB ) {
        $formData = $form_to_DB->get_posted_data();
        $fullname = $formData['FullName'];
        foreach ($pipe_array as $value) {
            // Compare and find the pipe value
            if ( $posted_data['primarybusiness'][0] === $value[1] ){
                $primarybusiness = $value[0];
            }
        }
        $mydb->insert( 'mytable', array( 'fullname'=>$fullname,'primarybusiness'=>$primarybusiness), array( '%s' ) );
    }
}

```