summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJayaram R Pai2014-07-25 15:09:43 +0530
committerJayaram R Pai2014-07-25 15:09:43 +0530
commit4a49d7d5aedfbad068fe2827788f350c8a408743 (patch)
treefba62447fb8fc0c171364e2c1f2cdad43562a48a
parent694f8285961d68559bd70e84080c3d1b7ba15cba (diff)
downloadscilab_lab_migration-4a49d7d5aedfbad068fe2827788f350c8a408743.tar.gz
scilab_lab_migration-4a49d7d5aedfbad068fe2827788f350c8a408743.tar.bz2
scilab_lab_migration-4a49d7d5aedfbad068fe2827788f350c8a408743.zip
disabled a field in proposal form
-rwxr-xr-xproposal.inc3
1 files changed, 2 insertions, 1 deletions
diff --git a/proposal.inc b/proposal.inc
index f2e6b42..c9639c8 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -122,8 +122,9 @@ function lab_migration_proposal_form($form_state)
'#title' => t('Do you want to display the solution on the www.scilab.in website'),
'#options' => array('1' => 'Yes', '2' => 'No'),
'#required' => TRUE,
- '#default_value' => '1',
+ '#default_value' => '2',
'#description' => 'If yes, solutions will be made available to everyone for downloading.',
+ '#disabled' => TRUE,
);
$form['submit'] = array(