diff options
author | Sashi20 | 2020-07-02 14:11:22 +0530 |
---|---|---|
committer | Sashi20 | 2020-07-02 14:11:22 +0530 |
commit | 2a5f4f33c93cb1dab29636f660b8d3615f333da8 (patch) | |
tree | 1c906ec3334bb79b1c6090ad33d7d507dae0733b | |
parent | 4cb6091992aadcbda39ceb514b201223f0624837 (diff) | |
download | cfd_case_study-2a5f4f33c93cb1dab29636f660b8d3615f333da8.tar.gz cfd_case_study-2a5f4f33c93cb1dab29636f660b8d3615f333da8.tar.bz2 cfd_case_study-2a5f4f33c93cb1dab29636f660b8d3615f333da8.zip |
Remove validation errors for faculty department and email
-rwxr-xr-x | proposal.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/proposal.inc b/proposal.inc index 3159704..9e39845 100755 --- a/proposal.inc +++ b/proposal.inc @@ -510,7 +510,7 @@ function cfd_case_study_proposal_form_validate($form, &$form_state) $form_state['values']['how_did_you_know_about_project'] = $form_state['values']['others_how_did_you_know_about_project']; } } - if ($form_state['values']['faculty_name'] != '' || $form_state['values']['faculty_name'] != "NULL") { + /*if ($form_state['values']['faculty_name'] != '' || $form_state['values']['faculty_name'] != "NULL") { if($form_state['values']['faculty_email'] == '' || $form_state['values']['faculty_email'] == "NULL") { form_set_error('faculty_email', t('Please enter the email id of your faculty')); @@ -518,7 +518,7 @@ function cfd_case_study_proposal_form_validate($form, &$form_state) if($form_state['values']['faculty_department'] == '' || $form_state['values']['faculty_department'] == 'NULL'){ form_set_error('faculty_department', t('Please enter the Department of your faculty')); } - } + }*/ if (isset($_FILES['files'])) { |