You need to sign in to do that
Don't have an account?

jhyui
Hi,
I Have Fields First name, last name, and file upload.
file only get upload when firstname last name are populated.
so I want to show a message "enter first name and last name" when we try to upload file without first name and last name
in aura component
I Have Fields First name, last name, and file upload.
file only get upload when firstname last name are populated.
so I want to show a message "enter first name and last name" when we try to upload file without first name and last name
in aura component
You can write validation for empty value in first and last name.
Thanks,
1. Use JS to validate that first name, last name etc. are not null
2. Don't enable the upload button until user has filled the necessary fields