summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfossee-dell2017-08-10 14:39:43 +0530
committerfossee-dell2017-08-10 14:39:43 +0530
commitcac9b204727a54f5ea426acd33e367b91a20006e (patch)
tree3952cd91156d424e7bf8f85b6ed4ce5062bd5787
parentb009b7d368cb376788ba550784d21285cfbeded2 (diff)
downloadesim_circuit_simulation_project_module-cac9b204727a54f5ea426acd33e367b91a20006e.tar.gz
esim_circuit_simulation_project_module-cac9b204727a54f5ea426acd33e367b91a20006e.tar.bz2
esim_circuit_simulation_project_module-cac9b204727a54f5ea426acd33e367b91a20006e.zip
Minor changes in proposal form
-rwxr-xr-xproposal.inc16
1 files 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.') . '<br />' . t('<span style="color:red;">Allowed file extensions : ') . variable_get('textbook_companion_source_extensions', '') . '</span>'
+ '#description' => t('Upload filenames with allowed extensions only. No spaces or any special characters allowed in filename.') . '<br />' . t('<span style="color:red;">Allowed file extensions : ') . variable_get('resource_upload_extensions', '') . '</span>'
);
$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,