I think there is something wrong with the line
if(isset($_POST['selectAccount'])==$elements['Account_Name'])
Two things you might want to consider: if you use a field like this
<select name="selectAccount[]" multiple="multiple" class="multiple">
then $_POST['selectAccount']
will be an array, so you might want to check if $_POST['selectAccount'
] is set and then if the array contains your $elements['Account_Name']
you can use in_array for that.