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
AkshiiiiiAkshiiiii 

Dynamic forms in Lightning Component

How can I create dynamic form in Lightning component? Can someone provide a sample code?
Thanks!
VinayVinay (Salesforce Developers) 
Check below references for dynamic forms in lightning component.

https://merfantz.com/blog/how-to-create-dynamic-forms-in-salesforce-lightning/
https://www.salesforceben.com/salesforce-dynamic-forms-overview-deep-dive-tutorial/

Thanks,
Suraj Tripathi 47Suraj Tripathi 47
Hi Akshii,
Greetings!
<template>
    <lightning-record-form
        record-id={recordId}
        object-api-name={objectname}
        layout-type="Full"
        mode="view">
    </lightning-record-form>
</template>
For more information please visit this page:-
https://merfantz.com/blog/how-to-create-dynamic-forms-in-salesforce-lightning/


If you find your Solution then mark this as the best answer. 

Thank you!

Regards,
Suraj Tripathi