Can I show a related list when a new form is opened

Ap_1
Tera Contributor

We have a requirement to show a related list when a new form is opened and after a field is selected.

 

Can anyone help me if this is possible.

 

I have written a onchange client script.

 

function onChange(control, oldValue, newValue, isLoading, isTemplate) {
 
   if(g_form.isNewRecord() && oldValue == '' && newValue == 'pre_project')
    g_form.showRelatedList('u_quotation_line.u_quotation');
}
1 ACCEPTED SOLUTION

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

Related list shows record form different table that are somehow related to the current record.

 

How would you show relationship yo record that doesn't exist?

-Anurag

View solution in original post

3 REPLIES 3

Anurag Tripathi
Mega Patron
Mega Patron

Hi,

Related list shows record form different table that are somehow related to the current record.

 

How would you show relationship yo record that doesn't exist?

-Anurag

@Anurag Tripathi So its not possible right.

Yea its not possible.

-Anurag