版权信息©2008-2011 All Rights Reserved |
成果提交数据表字段“发表出版时间”数值型改为文本型的方法
文件位置:wlpj\cp\unit\additem.asp
1、数据表文本字段数据录入验证指令:textfieldRequiredMsg
<tr align="left">
<th height="30" align="right" valign="middle">发表出版单位:</th>
<td align="left"><span id="sprytextfield3">
<input name="pubunit" type="text" id="pubunit" size="57">
</span><span id="sprytextfield8">
<span class="textfieldRequiredMsg">必填项</span></span></td>
</tr>
2、日期/时间字段数据录入验证命令:"textfieldInvalidFormatMsg"
<tr align="left">
<th height="30" align="right" valign="middle">发表出版时间:</th>
<td align="left"><span id="sprytextfield5">
<input name="pubtime" type="text" id="pubtime" size="57">
</span><span class="textfieldInvalidFormatMsg">必填项</span></td>
</tr>
3、更改日期/时间字段数据录入验证命令为文本字段:把class="textfieldInvalidFormatMsg"改为:class="textfieldRequiredMsg"
<tr align="left">
<th height="30" align="right" valign="middle">发表出版时间:</th>
<td align="left"><span id="sprytextfield5">
<input name="pubtime" type="text" id="pubtime" size="57">
</span><span class="textfieldInvalidFormatMsg">必填项</span></td>
</tr>
4、“引用次数”字段改为“转载/引用”字段,字段属性“整数”改为“文本”后,
必须将验证命令<span class="textfieldInvalidFormatMsg">改为<span class="textfieldRequiredMsg">
<tr align="left">
<th height="30" align="right" valign="middle">引用次数:</th>
<td align="left"><span id="sprytextfield4">
<input type="text" name="cited" id="cited">
<span class="textfieldInvalidFormatMsg">格式无效。</span></td>
</tr>
版权信息©2008-2011 All Rights Reserved |