diff options
author | Sashi20 | 2019-09-25 16:30:09 +0530 |
---|---|---|
committer | GitHub | 2019-09-25 16:30:09 +0530 |
commit | a6074b919b2f994ffffc2b1eb2eaec380ac66ee9 (patch) | |
tree | fe3951534256a62b4b2487177f14d5eddb1d9d07 | |
parent | 66b1ce4c97e63924108f8d32fe879e9d00f36f82 (diff) | |
parent | 719fa4c487995fb463f8945bf998e816b7d6cb03 (diff) | |
download | om_pssp-a6074b919b2f994ffffc2b1eb2eaec380ac66ee9.tar.gz om_pssp-a6074b919b2f994ffffc2b1eb2eaec380ac66ee9.tar.bz2 om_pssp-a6074b919b2f994ffffc2b1eb2eaec380ac66ee9.zip |
Merge pull request #11 from Sashi20/master
Modify number of contributors in proposal form
-rwxr-xr-x | manage_proposal.inc | 4 | ||||
-rwxr-xr-x | proposal.inc | 6 |
2 files changed, 5 insertions, 5 deletions
diff --git a/manage_proposal.inc b/manage_proposal.inc index 952c787..a1ecc7a 100755 --- a/manage_proposal.inc +++ b/manage_proposal.inc @@ -705,8 +705,8 @@ function om_pssp_proposal_edit_form($form, &$form_state) $form['contributor_name'] = array( '#type' => 'textfield', '#title' => t('Name of the Proposer'), - '#size' => 30, - '#maxlength' => 50, + '#size' => 350, + '#maxlength' => 350, '#required' => TRUE, '#default_value' => $proposal_data->contributor_name ); diff --git a/proposal.inc b/proposal.inc index 47017d1..1d141ac 100755 --- a/proposal.inc +++ b/proposal.inc @@ -70,13 +70,13 @@ function om_pssp_proposal_form($form, &$form_state, $no_js_use = FALSE) $form['contributor_name'] = array( '#type' => 'textfield', '#title' => t('Name of the contributor'), - '#size' => 250, + '#size' => 350, '#attributes' => array( 'placeholder' => t('Enter your full name.....') ), - '#maxlength' => 250, + '#maxlength' => 350, '#required' => TRUE, - '#description' => t('<span style="color:red;">Kindly enter the names (maximum three) in the following format: Name1, Name2 and Name3</span>'), + '#description' => t('<span style="color:red;">Kindly enter the names (maximum four) in the following format: Name1, Name2, Name3 and Name4</span>'), ); $form['contributor_contact_no'] = array( '#type' => 'textfield', |