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
Saurabh Bisht 19Saurabh Bisht 19 

Create LWC component for Custom object registration

Make a registration form with name, email, 
and address detail. In address detail field we have 
two text fields, one is current address, and another is 
correspondence address. If Both the field is empty then 
generate error.Only one Address field should be filled. 
Save the details.
AnkaiahAnkaiah (Salesforce Developers) 
Hi Saurabh,

Refer the below link will help you to proceed further.

https://www.w3web.net/create-custom-form-validation-in-lwc/

Thanks!!