From ca8d2137a6a3aac450cc1975a394d5f2b277a6b5 Mon Sep 17 00:00:00 2001 From: Saketh1499 Date: Tue, 17 Aug 2021 14:48:47 +0530 Subject: Update soulution proposal page --- solution_proposal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solution_proposal.inc b/solution_proposal.inc index 86cc56a..b854771 100755 --- a/solution_proposal.inc +++ b/solution_proposal.inc @@ -198,6 +198,7 @@ function lab_migration_solution_proposal_form($form, $form_state) '#type' => 'select', '#title' => t('City'), '#options' => lm_list_of_cities(), + '#validated' => TRUE, '#states' => array( 'visible' => array( ':input[name="country"]' => array( @@ -426,7 +427,6 @@ function lm_list_of_cities() $states = array( 0 => '-Select-' ); - $city = array(); $query = db_select('list_cities_of_india'); $query->fields('list_cities_of_india'); $query->orderBy('city', 'ASC'); -- cgit