You need to sign in to do that
Don't have an account?
Akshay Shrivastava
How to put check on submit button?
On click on submit button, I want to check that field have some value.
if the field does not have value then do not save the detail
if the field does not have value then do not save the detail
https://developer.salesforce.com/docs/component-library/bundle/lightning-record-edit-form/documentation (https://developer.salesforce.com/docs/component-library/bundle/lightning-record-edit-form/documentation" target="_blank)
But, if it's a standard create/edit modal then you can use validation rules to check the field values before saving the record.