ASP中的多种形式处理 [英] Mutiple Form Handling in ASP

查看:164
本文介绍了ASP中的多种形式处理的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我正在创建一个HTML表单,其中包含20多个表单域,并且我仅将它们包含在一个表单元素中以将其发布到另一页上.我正在使用经典的ASP.提交表单时,我丢失了一些已发布的数据. ASP中有什么方法可以检索多个表单数据.

示例(我需要的是):


.

.
.



==============另一方面(test.asp)=============
<%
''这里我想通过两种形式检索发布的数据:confused:

%>

Hi All,
I am creating a html form having more than 20 form fields in it and I have included them in only one form element to post it on another page. I am using classic ASP. When form is submited I lose some posted data. Is there any way in ASP to retrieve multiple form data.

example(what I need is) :


.

.
.



===============On Other hand (test.asp)=============
<%
''here I want to retrieve posted data by both form:confused:

%>

推荐答案

我认为在"action"以您的实际形式不存在之前没有空格?如果未发布值,那是因为它们不属于您发布的表单.我希望您无法访问这两种形式,您只需要将它们全部放在一种形式上,然后将其张贴即可.

为什么要使用经典ASP?你讨厌自己吗?
I assume the lack of a space before ''action'' does not exist in your actual form ? If the values are not being posted, it''s because they are not part of the form you posted. I expect you can''t access both forms, you need to just put it all on the one form, and post that.

Why are you using classic ASP ? Do you hate yourself ?


这篇关于ASP中的多种形式处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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