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
Vanitha ManiVanitha Mani 

Workaround for autopopulating fields in create record

Hi,
while creating a new case for recortype incident and service request
two fields system and product are mandatory .so when the user gives the value for system and product other two fields product build and system version should get autopopulated.Can anyone share code or workaround for it.all are lookup fields in case object.User-added image
ShirishaShirisha (Salesforce Developers) 
Hi Vanitha,

Greetings!

Please refer the sample lightning component to populate the fields in the below blog.

http://peterknolle.com/lightning-record-edit-form/

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
Vanitha ManiVanitha Mani
Hi Shirisha,

I am not using record edit form..It is a  standard create record form.I think trigger or i can use process builder..Can u help with that