Little help on report Module need to call function .!!! to set up default value

Hello Every one ,

I am working on report module .
I have created a relationship between Accounts And Report Module .
so From the accounts detail view page if i click on Report sub panel Create button .

i am redirecting to create page ( edit view page ) of report
and while redirecting i am setting up a default value for report name as in : Report in view.edit.php

like this

    if($_POST['accounts_aor_reports_1_name']!=''){
        
             $this->bean->chk_c='Accounts';
             $this->bean->name = $_POST['accounts_aor_reports_1_name'].' Report';
        } 

and its working fine

i also want to setup defaults fields for Disaplay fields in FIELDS subpanel of report As show in 2 attachment

any suggestion how to do this ??

Thank You
For your Time

Hello Everyone ,

Can some one guide me on this ?

Hello all ,

it will be very appreciative if any one or any admin can guide me on this ???

Display Field is populating on click of Add field Button , and on Click of Add field button they are calling insertFieldLine() function which is there in Fieldline.js file so can we use the same function in view.edit.php and pre-populate the suiteCRM report’s display field ?