How to dispaly custom values in link field

Hi all :slightly_smiling_face:,
i need some help on getting values displayed in link field. here is my use case.

i have one link field in frappe dialogue where i need to list down contact and their phone numbers, same contact may have multiple phone numbers… in this case every phone numbers should be dispalyed as a seperate option in list as below . and once i select contact i have to set phone number of selected option in a different field


Hi, in that field you want to display the phone number, go to customize this field name , in fetch from put : (fieldname of this link field you have).(fieldname of phone number) :
for example : contact.number

Hi @abrarpv97 !

I have 2 ideas:

  1. Can you use set_query and can make custom fetch for the result and override the search fields.
  2. Use Option and append an array using a functiont.

Let me know if it works.

1 Like