summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-10-23 11:59:28 +0530
committerSashi202020-10-23 11:59:28 +0530
commit7de1c452f5c187b106a06dc4b691092c0b269466 (patch)
tree2ee22b0bc78f16a8d4e1d9b31f5fdb61dee59b4c
parentf3bb80e8b54ce441125312a51dda42cca830d6b4 (diff)
downloadr_lab_migration-7de1c452f5c187b106a06dc4b691092c0b269466.tar.gz
r_lab_migration-7de1c452f5c187b106a06dc4b691092c0b269466.tar.bz2
r_lab_migration-7de1c452f5c187b106a06dc4b691092c0b269466.zip
Increase the size of lab title in proposal form
-rwxr-xr-xlab_migration.module2
-rwxr-xr-xproposal.inc10
2 files changed, 6 insertions, 6 deletions
diff --git a/lab_migration.module b/lab_migration.module
index dda426f..7b7e907 100755
--- a/lab_migration.module
+++ b/lab_migration.module
@@ -806,7 +806,7 @@ function _lm_list_of_software_version()
$software_version = array();
$query = db_select('r_software_version');
$query->fields('r_software_version');
- $query->orderBy('id', 'DESC');
+ //$query->orderBy('id', 'DESC');
$software_version_list = $query->execute();
while ($software_version_list_data = $software_version_list->fetchObject())
{
diff --git a/proposal.inc b/proposal.inc
index 88eb454..bc75e4c 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -187,7 +187,7 @@ function lab_migration_proposal_form($form, &$form_state)
'#title' => t('Pincode'),
'#size' => 30,
'#maxlength' => 6,
- '#required' => False,
+ '#required' => TRUE,
'#attributes' => array(
'placeholder' => 'Enter pincode....'
)
@@ -212,7 +212,7 @@ function lab_migration_proposal_form($form, &$form_state)
'#states' => array(
'visible' => array(
':input[name="version"]' => array(
- 'value' => 'olderversion'
+ 'value' => 'Others'
)
)
)
@@ -220,7 +220,7 @@ function lab_migration_proposal_form($form, &$form_state)
$form['lab_title'] = array(
'#type' => 'textfield',
'#title' => t('Title of the Lab'),
- '#size' => 50,
+ '#size' => 100,
'#required' => TRUE
);
$first_experiemnt = TRUE;
@@ -231,7 +231,7 @@ function lab_migration_proposal_form($form, &$form_state)
$form['lab_experiment-' . $counter] = array(
'#type' => 'textfield',
'#title' => t('Title of the Experiment ') . $counter,
- '#size' => 50,
+ '#size' => 100,
'#required' => TRUE
);
$namefield = "lab_experiment-" . $counter;
@@ -258,7 +258,7 @@ function lab_migration_proposal_form($form, &$form_state)
$form['lab_experiment-' . $counter] = array(
'#type' => 'textfield',
'#title' => t('Title of the Experiment ') . $counter,
- '#size' => 50,
+ '#size' => 100,
'#required' => FALSE
);
$namefield = "lab_experiment-" . $counter;