projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Focus set to invalid field after submit check fail
[fa-stable.git]
/
gl
/
manage
/
bank_accounts.php
diff --git
a/gl/manage/bank_accounts.php
b/gl/manage/bank_accounts.php
index 14b4e7949bffe050d0665ce7fcec2951d53135b1..c7d665c343af42b98242a8e16fff927509154950 100644
(file)
--- a/
gl/manage/bank_accounts.php
+++ b/
gl/manage/bank_accounts.php
@@
-28,6
+28,7
@@
if (isset($_POST['ADD_ITEM']) || isset($_POST['UPDATE_ITEM']))
{
$input_error = 1;
display_error(_("The bank account name cannot be empty."));
{
$input_error = 1;
display_error(_("The bank account name cannot be empty."));
+ set_focus('bank_account_name');
}
if ($input_error != 1)
}
if ($input_error != 1)