Commit 6d4724a330f157e4f2ad1c46cfed9e3f0d064a0d
1 parent
a6da816a
enabled validation
git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@1567 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
2 additions
and
0 deletions
presentation/lookAndFeel/knowledgeTree/administration/groupmanagement/assignGroupToUnitBL.php
| ... | ... | @@ -28,6 +28,7 @@ if (checkSession()) { |
| 28 | 28 | if(!isset($fGroupSet)) { |
| 29 | 29 | // build first page |
| 30 | 30 | $oPatternCustom->setHtml(getPage(null,null)); |
| 31 | + $main->setHasRequiredFields(true); | |
| 31 | 32 | $main->setFormAction($_SERVER["PHP_SELF"] . "?fGroupSet=1"); |
| 32 | 33 | } else { |
| 33 | 34 | // do a check to see both drop downs selected |
| ... | ... | @@ -38,6 +39,7 @@ if (checkSession()) { |
| 38 | 39 | // if it does'nt ..then go to normal page |
| 39 | 40 | if($unitLink == false) { |
| 40 | 41 | $oPatternCustom->setHtml(getPage($fGroupID,$fUnitID)); |
| 42 | + $main->setHasRequiredFields(true); | |
| 41 | 43 | $main->setFormAction($_SERVER["PHP_SELF"] . "?fGroupSet=1&fGroupAssign=1"); |
| 42 | 44 | } else { |
| 43 | 45 | //if it does...then go to failure page | ... | ... |