From cac9b204727a54f5ea426acd33e367b91a20006e Mon Sep 17 00:00:00 2001
From: fossee-dell
Date: Thu, 10 Aug 2017 14:39:43 +0530
Subject: Minor changes in proposal form
---
proposal.inc | 16 +++++-----------
1 file changed, 5 insertions(+), 11 deletions(-)
diff --git a/proposal.inc b/proposal.inc
index 5b94207..659df5c 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -200,13 +200,7 @@ function circuit_simulation_proposal_form($form, &$form_state, $no_js_use = FALS
$form['pincode'] = array(
'#type' => 'textfield',
'#title' => t('Pincode'),
- '#size' => 30,
- '#maxlength' => 6,
- '#required' => False,
- '#attributes' => array(
- 'placeholder' => 'Enter pincode....'
- ),
- '#required' => TRUE
+ '#size' => 6
);
/***************************************************************************/
$form['hr'] = array(
@@ -240,15 +234,15 @@ function circuit_simulation_proposal_form($form, &$form_state, $no_js_use = FALS
);
$form['samplefile'] = array(
'#type' => 'fieldset',
- '#title' => t('Circuit Diagram'),
+ '#title' => t('Relevant Documents (if any)'),
'#collapsible' => FALSE,
'#collapsed' => FALSE
);
$form['samplefile']['samplefilepath'] = array(
'#type' => 'file',
- '#title' => t('Upload circuit diagram'),
+ //'#title' => t('Upload circuit diagram'),
'#size' => 48,
- //'#description' => t('Separate filenames with underscore. No spaces or any special characters allowed in filename.') . '
' . t('Allowed file extensions : ') . variable_get('textbook_companion_source_extensions', '') . ''
+ '#description' => t('Upload filenames with allowed extensions only. No spaces or any special characters allowed in filename.') . '
' . t('Allowed file extensions : ') . variable_get('resource_upload_extensions', '') . ''
);
$form['term_condition'] = array(
'#type' => 'checkboxes',
@@ -464,7 +458,7 @@ function circuit_simulation_proposal_form_submit($form, &$form_state)
:university,
:city,
:pincode,
- :state,
+ :state,
:country,
:project_guide_name,
:project_guide_email_id,
--
cgit