Changing Global: Text Area based on an exposed filter in views?
You could use 

hook_views_pre_render(&amp;$view){
    $view-&gt;attachment_before = $view['exposed_input']['your_desired_field'];
}


Hope it works