Validation: button disabled while name field is empty, or json/pdf not provided appropriate files.