diff options
-rwxr-xr-x | lab_migration.module | 2 | ||||
-rwxr-xr-x | proposal.inc | 10 |
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; |