无法验证数组中的输入数据 [英] Unable to validate input data in array

查看:66
本文介绍了无法验证数组中的输入数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用ASP

在我公司,所有员工都必须将材料发送到场外。任何需要发送材料的员工都将使用此Web应用程序。在第一页中,员工输入公司名称,车辆号,驾驶员姓名,目的,人员取出,接收,备注。在第二页中,员工输入no。要取出的材料在第三页中,显示no。用于输入材料详细信息的行,例如材料名称,serial_no。,数量,重量备注。

我已经为所有字段编写了验证。所有验证都很有效。在第三页中,验证在没有时运行良好。取出的材料是1.当> 1,然后没有验证工作。


请建议我,该怎么办?

我给你进入和验证的代码。


谢谢和问候,

Vikas

< span class =codeLinkonclick =Blur(this,this.parentNode.parentNode,getChildren(this),true);>展开 | 选择 | Wrap | 行号

解决方案

看起来验证实际上是在javascript中完成的,而不是ASP。我会把它移到javascript论坛。


Jared


请你只发贴html代码,而不是ASP代码,你在查看源中得到的那个?仅发布HTML部分,而不是JavaScript。 JS已经很清楚了。



您可以只发布html代码,而不是ASP代码, >查看来源?仅发布HTML部分,而不是JavaScript。 JS已经清楚了。



是的,先生。这是我没有JavaScript的HTML代码。我急切地等待你的建议。


谢谢和问候,

Vikas

展开 | 选择 | Wrap | 行号< /跨度>

I am using ASP
In my company, all employees have to sent materials out of premises. Any employee who need to sent material out will use this web application. In the first page, an employee enters firm name, vehicle no, driver name, purpose, persons taking out, received by, remarks. In the second page, employee enters no. of materials to be taken out. In the third page, displays no. of rows for entry of material details like material name, serial_no., qty, weight remarks.
I have written validation for all field. All validation works well. In the third page, validation works well when no. of material taken out is 1. When it is > 1, then no validation works.

Please suggest me, what to do?

I am giving you code for entry and validation.

Thanks and regards,
Vikas

Expand|Select|Wrap|Line Numbers

解决方案

It looks like the validation is actually being done in the javascript, not the ASP. I''ll move this to the javascript forum.

Jared


Instead of the ASP code, can you please post the html code only, the one you get in view source? Post only the HTML part then, not the JavaScript. JS is already clear.


Instead of the ASP code, can you please post the html code only, the one you get in view source? Post only the HTML part then, not the JavaScript. JS is already clear.

Yes Sir. Here is my HTML code without JavaScript. I am eagerly waiting for your suggestion.

Thanks and regards,
Vikas

Expand|Select|Wrap|Line Numbers


这篇关于无法验证数组中的输入数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆