| 编程中国 | 业界新闻 | 技术文章 | 视频教程 | 下载频道 | 程序源码 | 个人空间 | 编程论坛
全能ASP/PHP/ASP.NET主机,支持月付专业 MSSQL 数据库空间,支持月付专业 MySQL 数据库空间,支持月付学习型 ASP/PHP/ASP.NET 主机 30元/年
高端软件开发 = 年薪十万不是梦   
共有 351 人关注过本帖
标题:request传值问题
收藏  订阅  推荐  打印
lukehekang
Rank: 1
等级:新手上路
帖子:4
积分:142
注册:2008-5-26
request传值问题

<p>
<b> The fields values is : </b>
<p>
<%d1 = Request("Name")%> <%=d1%>
<%d2 = Request("Sex" )%> <%=d2%>
<%d3 = Request("Birthday")%><%=d3%>
<%d4 = Request("Nationality")%><%=d4%>
<%d5 = Request("Marry" )%><%=d5%>
<%d6 = Request("Salary") %><%=d6%>
<p>
为什么用adobe建立得一个对应得表单无法获取其中得值
2008-5-26 13:29
SkyGull
Rank: 4
等级:高级会员
帖子:558
积分:5716
威望:8
注册:2007-6-7

获取表单赋值和adobe有什么关系?
2008-5-26 13:48
lukehekang
Rank: 1
等级:新手上路
帖子:4
积分:142
注册:2008-5-26
回复 2# SkyGull 的帖子

表单是用adobe desinger建立得。。
2008-5-26 13:59
yms123
Rank: 12Rank: 12Rank: 12
等级:版主
帖子:7961
积分:81278
威望:71
注册:2004-7-17

检查表单的method属性是什么method=post还是method=get

http://www.lxzhcn.net
版块版主招募中
网站论坛发帖无问题,欢迎发帖。
2008-5-26 15:49
SkyGull
Rank: 4
等级:高级会员
帖子:558
积分:5716
威望:8
注册:2007-6-7

request就可以包含post或get了
2008-5-26 17:07
multiple1902
Rank: 12Rank: 12Rank: 12
等级:版主
帖子:4472
积分:45604
威望:40
注册:2007-2-9

引用:
lukehekang 在 2008-5-26 13:29 的发言:
为什么用adobe建立得一个对应得表单无法获取其中得值
检查表单。
2008-5-26 20:58
hmhz
Rank: 12Rank: 12Rank: 12
等级:版主
帖子:1521
积分:16392
威望:15
注册:2006-12-17

把表单代码发出来看看
2008-5-27 08:11
lukehekang
Rank: 1
等级:新手上路
帖子:4
积分:142
注册:2008-5-26

<?xml version="1.0" encoding="UTF-8"?>
<?xfa generator="AdobeDesigner_V7.0" APIVersion="2.2.4330.0"?>
<xdp:xdp xmlns:xdp="http://ns.adobe.com/xdp/">
<template xmlns="http://www.xfa.org/schema/xfa-template/2.1/">
   <subform layout="tb" locale="zh_CN" name="表单1">
      <pageSet>
         <pageArea id="Page1" name="页面1">
            <contentArea h="756pt" w="576pt" x="0.25in" y="0.25in"/>
            <medium long="792pt" short="612pt" stock="default"/>
         </pageArea>
      </pageSet>
      <subform h="756pt" w="576pt">
         <field h="6mm" name="HTTP提交按钮1" w="28.575mm" x="98.6499mm" y="48.6501mm">
            <?templateDesigner isHttpSubmitObject true?>
            <ui>
               <button/>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <caption>
               <value>
                  <text>提交</text>
               </value>
               <para hAlign="center" vAlign="middle"/>
               <font typeface="Adobe Song Std L"/>
            </caption>
            <border hand="right">
               <?templateDesigner StyleID apbx2?>
               <edge stroke="raised"/>
               <fill>
                  <color value="212,208,200"/>
               </fill>
            </border>
            <bind match="none"/>
            <event activity="click">
               <submit format="formdata" target="http://222.26.216.39/Submit.asp?" textEncoding="UTF-8"/>
            </event>
         </field>
         <field h="9.9999mm" name="Name" w="65mm" x="13.65mm" y="8.6499mm">
            <ui>
               <textEdit>
                  <border>
                     <?templateDesigner StyleID aped3?>
                     <edge stroke="lowered"/>
                  </border>
                  <margin/>
               </textEdit>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="1mm" leftInset="1mm" rightInset="1mm" topInset="1mm"/>
            <para vAlign="middle"/>
            <caption reserve="25mm">
               <font typeface="Adobe Song Std L"/>
               <para vAlign="middle"/>
               <value>
                  <text xmlns="http://www.xfa.org/schema/xfa-template/2.2/">Name</text>
               </value>
            </caption>
         </field>
         <exclGroup name="单选钮组" x="103.6501mm" y="8.6502mm">
            <field h="9.9998mm" w="28mm">
               <ui>
                  <checkButton shape="round">
                     <border>
                        <?templateDesigner StyleID apcb4?>
                        <edge stroke="lowered"/>
                        <fill/>
                     </border>
                  </checkButton>
               </ui>
               <font typeface="Adobe Song Std L"/>
               <margin leftInset="1mm" rightInset="1mm"/>
               <para vAlign="middle"/>
               <caption placement="right" reserve="22mm">
                  <para vAlign="middle"/>
                  <font typeface="Adobe Song Std L"/>
                  <value>
                     <text xmlns="http://www.xfa.org/schema/xfa-template/2.2/">male</text>
                  </value>
               </caption>
               <items>
                  <integer>1</integer>
               </items>
            </field>
            <field h="10mm" w="30mm" x="14.9999mm">
               <ui>
                  <checkButton shape="round">
                     <border>
                        <?templateDesigner StyleID apcb4?>
                        <edge stroke="lowered"/>
                        <fill/>
                     </border>
                  </checkButton>
               </ui>
               <font typeface="Adobe Song Std L"/>
               <margin leftInset="1mm" rightInset="1mm"/>
               <para vAlign="middle"/>
               <caption placement="right" reserve="22mm">
                  <para vAlign="middle"/>
                  <font typeface="Adobe Song Std L"/>
                  <value>
                     <text xmlns="http://www.xfa.org/schema/xfa-template/2.2/">female</text>
                  </value>
               </caption>
               <items>
                  <integer>2</integer>
               </items>
            </field>
         </exclGroup>
         <draw h="9.9998mm" name="Sex" w="25mm" x="78.65mm" y="8.65mm">
            <ui>
               <textEdit>
               </textEdit>
            </ui>
            <value>
               <exData xmlns="http://www.xfa.org/schema/xfa-template/2.2/" contentType="text/html" maxLength="0">
                  <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="2.2.4330.0"><p style="text-align:justify;text-decoration:none"><span style="xfa-spacerun:yes">    </span>Sex</p></body>
               </exData>
            </value>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="0.5mm" leftInset="0.5mm" rightInset="0.5mm" topInset="0.5mm"/>
            <para xmlns="http://www.xfa.org/schema/xfa-template/2.2/" hAlign="justify"/>
         </draw>
         <field h="9mm" name="Nationality" w="70mm" x="78.6502mm" y="18.65mm">
            <ui>
               <choiceList>
                  <border>
                     <?templateDesigner StyleID aped3?>
                     <edge stroke="lowered"/>
                  </border>
                  <margin/>
               </choiceList>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="1mm" leftInset="1mm" rightInset="1mm" topInset="1mm"/>
            <para vAlign="middle"/>
            <caption reserve="25mm">
               <font typeface="Adobe Song Std L"/>
               <para vAlign="middle"/>
               <value>
                  <text xmlns="http://www.xfa.org/schema/xfa-template/2.2/">Nationality</text>
               </value>
            </caption>
            <items xmlns="http://www.xfa.org/schema/xfa-template/2.2/" save="1">
               <text>China</text>
               <text>USA</text>
               <text>English</text>
            </items>
         </field>
         <field h="9mm" name="Birthday" w="65mm" x="13.65mm" y="18.65mm">
            <ui>
               <dateTimeEdit>
                  <border>
                     <?templateDesigner StyleID aped3?>
                     <edge stroke="lowered"/>
                  </border>
                  <margin/>
               </dateTimeEdit>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="1mm" leftInset="1mm" rightInset="1mm" topInset="1mm"/>
            <para vAlign="middle"/>
            <value>
               <date/>
            </value>
            <caption reserve="25mm">
               <font typeface="Adobe Song Std L"/>
               <para vAlign="middle"/>
               <value>
                  <text xmlns="http://www.xfa.org/schema/xfa-template/2.2/">Birthday</text>
               </value>
            </caption>
         </field>
         <draw h="9.9998mm" name="Mary" w="25mm" x="13.65mm" y="28.6499mm">
            <ui>
               <textEdit>
               </textEdit>
            </ui>
            <value>
               <text xmlns="http://www.xfa.org/schema/xfa-template/2.2/">Mary</text>
            </value>
            <font baselineShift="0pt" typeface="Adobe Song Std L"/>
            <margin bottomInset="0.5mm" leftInset="0.5mm" rightInset="0.5mm" topInset="0.5mm"/>
            <para xmlns="http://www.xfa.org/schema/xfa-template/2.2/" hAlign="justify" marginLeft="0pt" marginRight="0pt" spaceAbove="0pt" spaceBelow="0pt" textIndent="0pt"/>
         </draw>
         <exclGroup name="单选钮组" x="38.65mm" y="28.6499mm">
            <field h="9.9998mm" w="30mm">
               <ui>
                  <checkButton shape="round">
                     <border>
                        <?templateDesigner StyleID apcb4?>
                        <edge stroke="lowered"/>
                        <fill/>
                     </border>
                  </checkButton>
               </ui>
               <font typeface="Adobe Song Std L"/>
               <margin leftInset="1mm" rightInset="1mm"/>
               <para vAlign="middle"/>
               <caption placement="right" reserve="22mm">
                  <para vAlign="middle"/>
                  <font typeface="Adobe Song Std L"/>
                  <value>
                     <text xmlns="http://www.xfa.org/schema/xfa-template/2.2/">Yes</text>
                  </value>
               </caption>
               <items>
                  <integer>1</integer>
               </items>
            </field>
            <field h="10.0002mm" w="24.9999mm" x="15.0001mm" y="0.0001mm">
               <ui>
                  <checkButton shape="round">
                     <border>
                        <?templateDesigner StyleID apcb4?>
                        <edge stroke="lowered"/>
                        <fill/>
                     </border>
                  </checkButton>
               </ui>
               <font typeface="Adobe Song Std L"/>
               <margin leftInset="1mm" rightInset="1mm"/>
               <para vAlign="middle"/>
               <caption placement="right" reserve="22mm">
                  <para vAlign="middle"/>
                  <font typeface="Adobe Song Std L"/>
                  <value>
                     <text xmlns="http://www.xfa.org/schema/xfa-template/2.2/">    NO</text>
                  </value>
               </caption>
               <items>
                  <integer>2</integer>
               </items>
            </field>
         </exclGroup>
         <field h="9.9999mm" name="Salary" w="70mm" x="78.65mm" y="28.65mm">
            <ui>
               <numericEdit>
                  <border>
                     <?templateDesigner StyleID aped3?>
                     <edge stroke="lowered"/>
                  </border>
                  <margin/>
               </numericEdit>
            </ui>
            <font typeface="Adobe Song Std L"/>
            <margin bottomInset="1mm" leftInset="1mm" rightInset="1mm" topInset="1mm"/>
            <para vAlign="middle"/>
            <caption reserve="25mm">
               <font baselineShift="0pt" typeface="Adobe Song Std L"/>
               <para marginLeft="0pt" marginRight="0pt" spaceAbove="0pt" spaceBelow="0pt" textIndent="0pt"/>
               <value>
                  <exData xmlns="http://www.xfa.org/schema/xfa-template/2.2/" contentType="text/html" maxLength="0">
                     <body xmlns="http://www.w3.org/1999/xhtml" xmlns:xfa="http://www.xfa.org/schema/xfa-data/1.0/" xfa:APIVersion="2.2.4330.0"><p style="font-family:'Times New Roman'">Salary</p><p><span style="xfa-spacerun:yes"> </span></p></body>
                  </exData>
               </value>
            </caption>
         </field>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形1" w="65mm" x="13.65mm" y="8.6501mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形2" w="65mm" x="13.65mm" y="18.65mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形3" w="65mm" x="13.65mm" y="28.6502mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形4" w="70mm" x="78.65mm" y="8.6501mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形5" w="70mm" x="78.65mm" y="18.65mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形6" w="70mm" x="78.65mm" y="28.6502mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形7" w="25mm" x="13.65mm" y="8.6501mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形8" w="25mm" x="13.65mm" y="18.65mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形9" w="25mm" x="13.65mm" y="28.6502mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形10" w="25mm" x="78.65mm" y="8.6501mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形11" w="25mm" x="78.65mm" y="18.65mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
         <draw xmlns="http://www.xfa.org/schema/xfa-template/2.2/" h="10mm" name="矩形12" w="25mm" x="78.65mm" y="28.6502mm">
            <value>
               <rectangle>
                  <edge/>
               </rectangle>
            </value>
         </draw>
      </subform>
      <proto/>
   </subform>
这是表单代码
2008-5-27 08:39
ilovey4
Rank: 2
等级:注册会员
帖子:65
积分:846
注册:2007-6-21

xml啊

新手!
2008-5-27 08:59
lukehekang
Rank: 1
等级:新手上路
帖子:4
积分:142
注册:2008-5-26

表单是XML生成的
2008-5-27 09:12
共有 350 人关注过本帖
发新话题
关于我们 | 广告合作 | 编程中国 | 清除Cookies | Archiver | WAP | TOP

编程中国 版权所有,并保留所有权利。鲁ICP备08000592号
Powered by Discuz, Processed in 0.052689 second(s), 9 queries.
Copyright©2004-2008, BCCN.NET, All Rights Reserved