X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=gl%2Fmanage%2Fcurrencies.php;h=0204cfd7a312525c1c93563a6343403e147c7ddb;hb=b32d16b2c0c6c43e569ebe87e2a13ceb892b5788;hp=1cdd54214d0b624d97c03c312c228cf1531fbda8;hpb=da8311619dd73feae101d246a1957b972e00cbd2;p=fa-stable.git diff --git a/gl/manage/currencies.php b/gl/manage/currencies.php index 1cdd5421..0204cfd7 100644 --- a/gl/manage/currencies.php +++ b/gl/manage/currencies.php @@ -28,21 +28,25 @@ function check_data() if (strlen($_POST['Abbreviation']) == 0) { display_error( _("The currency abbreviation must be entered.")); + set_focus('Abbreviation'); return false; } elseif (strlen($_POST['CurrencyName']) == 0) { display_error( _("The currency name must be entered.")); + set_focus('CurrencyName'); return false; } elseif (strlen($_POST['Symbol']) == 0) { display_error( _("The currency symbol must be entered.")); + set_focus('Symbol'); return false; } elseif (strlen($_POST['hundreds_name']) == 0) { display_error( _("The hundredths name must be entered.")); + set_focus('hundreds_name'); return false; }