diff options
Diffstat (limited to 'httemplate/edit/prospect_main.html')
-rw-r--r-- | httemplate/edit/prospect_main.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/httemplate/edit/prospect_main.html b/httemplate/edit/prospect_main.html index 7473cc209..4495cab29 100644 --- a/httemplate/edit/prospect_main.html +++ b/httemplate/edit/prospect_main.html @@ -26,10 +26,11 @@ 'm2_error_callback' => $m2_error_callback, }, - { 'field' => 'locationnum', - 'type' => 'select-cust_location', - 'empty_label' => 'No address', - 'alt_format' => $conf->exists('prospect_main-alt_address_format'), + { 'field' => 'locationnum', + 'type' => 'select-cust_location', + 'empty_label' => 'No address', + 'disable_empty' => $conf->exists('prospect_main-location_required'), + 'alt_format' => $conf->exists('prospect_main-alt_address_format'), }, ], 'new_callback' => $new_callback, |