summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202019-01-01 12:56:34 +0530
committerSashi202019-01-01 12:56:34 +0530
commit0a13c5e74fa29b3056fb63224e71dd79b3069ba3 (patch)
tree55f5c51640c29a47a3844b9619efae8234a1a1b4
parentf1fdc0e3b45f6277b42e85161db701b1cb7a2aa4 (diff)
downloadom_pssp-0a13c5e74fa29b3056fb63224e71dd79b3069ba3.tar.gz
om_pssp-0a13c5e74fa29b3056fb63224e71dd79b3069ba3.tar.bz2
om_pssp-0a13c5e74fa29b3056fb63224e71dd79b3069ba3.zip
Modified the year of degree field in manage proposal
-rwxr-xr-xmanage_proposal.inc2
-rwxr-xr-xproposal.inc14
2 files changed, 11 insertions, 5 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc
index 3f7e3fd..d8aba72 100755
--- a/manage_proposal.inc
+++ b/manage_proposal.inc
@@ -708,7 +708,7 @@ function om_pssp_proposal_edit_form($form, &$form_state)
'#datepicker_options' => array(
'maxDate' => 0
),
- '#required' => TRUE
+ '#required' => FALSE
);
$form['university'] = array(
'#type' => 'textfield',
diff --git a/proposal.inc b/proposal.inc
index 7e8eb8d..97fa93b 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -51,6 +51,7 @@ function om_pssp_proposal_form($form, &$form_state, $no_js_use = FALSE)
return;
} //$proposal_data->approval_status == 0 || $proposal_data->approval_status == 1
} //$proposal_data
+ $imp = t('<span style="color: red;">*This is a mandatory field</span>');
$form['#attributes'] = array(
'enctype' => "multipart/form-data"
);
@@ -148,7 +149,8 @@ function om_pssp_proposal_form($form, &$form_state, $no_js_use = FALSE)
'value' => 'Others'
)
)
- )
+ ),
+ '#description' => $imp,
);
$form['other_state'] = array(
'#type' => 'textfield',
@@ -163,7 +165,8 @@ function om_pssp_proposal_form($form, &$form_state, $no_js_use = FALSE)
'value' => 'Others'
)
)
- )
+ ),
+ '#description' => $imp,
);
$form['other_city'] = array(
'#type' => 'textfield',
@@ -178,7 +181,8 @@ function om_pssp_proposal_form($form, &$form_state, $no_js_use = FALSE)
'value' => 'Others'
)
)
- )
+ ),
+ '#description' => $imp,
);
$form['all_state'] = array(
'#type' => 'select',
@@ -192,6 +196,7 @@ function om_pssp_proposal_form($form, &$form_state, $no_js_use = FALSE)
)
)
),
+ '#description' => $imp
);
$form['city'] = array(
'#type' => 'select',
@@ -205,6 +210,7 @@ function om_pssp_proposal_form($form, &$form_state, $no_js_use = FALSE)
)
)
),
+ '#description' => $imp,
);
$form['pincode'] = array(
'#type' => 'textfield',
@@ -287,7 +293,7 @@ function om_pssp_proposal_form($form, &$form_state, $no_js_use = FALSE)
);*/
$form['samplefile'] = array(
'#type' => 'fieldset',
- '#title' => t('Upload Abstract<span style="color:red;">*</span>'),
+ '#title' => t('Upload Abstract<span style="color:red;">&nbsp;*</span>'),
'#collapsible' => FALSE,
'#collapsed' => FALSE
);