I have a custom doctype and it has a field for email_id, mobile_no and address which is linked with customer. Email and phone no is fetching properly. Address is showing in below format,
HTML Field will not show on form without data ,you need to render the data for this field
In js side you can do like this
$(frm.fields_dict[custom_field].wrapper).html( data to render)
refresh_field(“custom_field”)