function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gurleen KaurGurleen Kaur 

How to show fields from different unrelated records in a lightning-record-form in LWC

There is a use case in which we have to build a form using lightning-record-form. We have to display the set of fields from different unrelated records into that form in different accordion sections.

I was going through the documentation, it says that lightning-record-form accepts only one Object name and only one record Id.

So, is there any way that I can show fields of different unrelated records in a single form using lightning-record-form in LWC?
SwethaSwetha (Salesforce Developers) 
HI Gurleen,

Your question appears answered here. https://salesforce.stackexchange.com/questions/308508/how-to-show-fields-from-different-objects-in-a-single-lightning-record-form-in-l 
 
Please mark this answer as best so that others facing the same issue will find this information useful. Thank you