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
dhanamjaya damaragunta 24dhanamjaya damaragunta 24 

How to make field is required by using force:recordForm or force:recordEditform

Hello everyone,

I have one pagelayout on object account. I make some fields are required on pagelayout level.When I am trying to achive this pagelayout with the help of recordform the required fields are not at all required.
Can you any one help on this?

Thanks
Dhanamjaya
Meghna Vijay 7Meghna Vijay 7
Hi ,
force:recordData and lightning:recordForm.Did you use layoutType="FULL" in lightning:recordForm?
Ex:- <lightning:recordForm recordId="001XXXXXXXXXXXXXXX" objectApiName="Account" layoutType="Full" mode="view" />