My client have a page which contain select element, after setting formfill policy
for this page the select element will be convert to wrong type and cause the browser
to issue not well-formed error. The access manager version is 4.1.2.0-23.

The following is the original pages:
<form action="member.php?nov-ss-ff-silent&mastercdnFF_BBS3310&mod=logging&amp;action= login&amp;loginsubmit=yes&amp;handlekey=login&amp; loginhash=Lly6M" onsubmit="pwdclear = 1;ajaxpost('loginform_Lly6M', 'returnmessage_Lly6M', 'returnmessage_Lly6M', 'onerror');return false;" class="cl" id="loginform_Lly6M" name="login" autocomplete="off" method="post">
<div class="c cl">
<input value="58420dc5" name="formhash" type="hidden"/>
<input value="http://bbs.idreamsky.com/forum.php" name="referer" type="hidden"/>
<div class="rfm">
<table>
<tr>
<th>
<span class="login_slct">
<select id="loginfield_Lly6M" width="45" style="float: left;" name="loginfield">
<option value="username">用户名</option>
<option value="email">Email</option>
</select>
</span>
</th>
<td><input value="andy" tabindex="1" class="px p_fre" size="30" autocomplete="off" id="username_Lly6M" name="username" type="text"/></td>
<td class="tipcol"><a href="member.php?mod=register">暂不开放注册</a></td>
</tr>
</table>
</div>
<div class="rfm">
<table>
<tr>
<th><label for="password3_Lly6M">密码:</label></th>
<td><input value="p@ssw0rd" tabindex="1" class="px p_fre" size="30" onfocus="clearpwd()" name="password" id="password3_Lly6M" type="password"/></td>
<!-- <td class="tipcol"><a href="javascript:;" onclick="display('layer_login_Lly6M');display('lay er_lostpw_Lly6M');" title="找回密码">找回密码</a></td> -->
</tr>
</table>
</div>
<div class="rfm">
<table>
<tr>
<th>安全提问:</th>
<td><select onchange="if($('loginquestionid_Lly6M').value > 0) {$('loginanswer_row_Lly6M').style.display='';} else {$('loginanswer_row_Lly6M').style.display='none';} " name="questionid" width="213" id="loginquestionid_Lly6M">
<option value="0">安全提问(未设置请忽略)</option>
<option value="1">母亲的名字</option>
<option value="2">爷爷的名字</option>
<option value="3">父亲出生的城市</option>
<option value="4">您其中一位老师的名字</option>
<option value="5">您个人计算机的型号</option>
<option value="6">您最喜欢的餐馆名称</option>
<option value="7">驾驶执照最后四位数字</option>
</select></td>
</tr>
</table>
</div>
<div class="rfm" id="loginanswer_row_Lly6M" style="display:none">
<table>
<tr>
<th>答案:</th>
<td><input tabindex="1" class="px p_fre" size="30" autocomplete="off" id="loginanswer_Lly6M" name="answer" type="text"/></td>
</tr>
</table>
</div>


<div class="rfm bw0">
<table>
<tr>
<th></th>
<td><label for="cookietime_Lly6M"><input value="2592000" tabindex="1" id="cookietime_Lly6M" name="cookietime" class="pc" type="checkbox"/>自动登录</label></td>
</tr>
</table>
</div>

<div class="rfm mbw bw0">
<table width="100%">
<tr>
<th>&nbsp;</th>
<td>
<button class="pn pnc" type="submit" name="loginsubmit" value="true" tabindex="1"><strong>登录</strong></button>
</td>
<td>
</td>
</tr>
</table>
</div>

</div>
</form>
</div>
<div id="layer_lostpw_Lly6M" style="display: none;">
<h3 class="flb">
<em id="returnmessage3_Lly6M">找回密码</em>
<span><a href="javascript:;" class="flbc" onclick="hideWindow('login')" title="关闭">关闭</a></span>
</h3>
<form method="post" autocomplete="off" id="lostpwform_Lly6M" class="cl" onsubmit="ajaxpost('lostpwform_Lly6M', 'returnmessage3_Lly6M', 'returnmessage3_Lly6M', 'onerror');return false;" action="member.php?mod=lostpasswd&amp;lostpwsubmit =yes&amp;infloat=yes">
<div class="c cl">
<input type="hidden" name="formhash" value="58420dc5" />
<input type="hidden" name="handlekey" value="lostpwform" />
<div class="rfm">
<table>
<tr>
<th><span class="rq">*</span><label for="lostpw_email">Email:</label></th>
<td><input type="text" name="email" id="lostpw_email" size="30" value="" tabindex="1" class="px p_fre" /></td>
</tr>
</table>
</div>
<div class="rfm">
<table>
<tr>
<th><label for="lostpw_username">用户名:</label></th>
<td><input type="text" name="username" id="lostpw_username" size="30" value="" tabindex="1" class="px p_fre" /></td>
</tr>
</table>
</div>

<div class="rfm mbw bw0">
<table>
<tr>
<th></th>
<td><button class="pn pnc" type="submit" name="lostpwsubmit" value="true" tabindex="100"><span>提交</span></button></td>
</tr>
</table>
</div>
</div>
</form>

and the following was convert by ag with formfill policy enabled:
<form action="member.php?mod=logging&amp;action=login&amp;logins ubmit=yes&amp;handlekey=login&amp;loginhash=LpQOl" onsubmit="pwdclear = 1;ajaxpost('loginform_LpQOl', 'returnmessage_LpQOl', 'returnmessage_LpQOl', 'onerror');return false;" class="cl" id="loginform_LpQOl" name="login" autocomplete="off" method="post">
<input value="bf5b5a06" name="formhash" type="hidden"/>
<input value="http://bbs.idreamsky.com/forum.php" name="referer" type="hidden"/>

<select name="loginfield" hidden></select>

<input value="jeremy.shen" tabindex="1" class="px p_fre" size="30" autocomplete="off" id="username_LpQOl" name="username" type="hidden"/>
<input value="p@ssw0rd" tabindex="1" class="px p_fre" size="30" onfocus="clearpwd()" name="password" id="password3_LpQOl" type="hidden"/>

<select name="questionid" hidden></select>

<input tabindex="1" class="px p_fre" size="30" autocomplete="off" id="loginanswer_LpQOl" name="answer" type="hidden"/>

</form>
<noscript>Please enable scripting on your browser!</noscript>
<script language="JavaScript" type="text/javascript">
function executeJavaScript()
{
pwdclear = 1;ajaxpost('loginform_LpQOl', 'returnmessage_LpQOl', 'returnmessage_LpQOl', 'onerror');return false;;

}

function NAGPostForm()
{
executeJavaScript();
document.forms[0].submit();
}
NAGPostForm();
</script>