Velocity Reviews

Velocity Reviews (http://www.velocityreviews.com/forums/index.php)
-   ASP General (http://www.velocityreviews.com/forums/f65-asp-general.html)
-   -   Form data not passed to action page (http://www.velocityreviews.com/forums/t804965-form-data-not-passed-to-action-page.html)

Rod Haggard 10-23-2009 08:06 PM

Form data not passed to action page
 
Hopefully this is the correct group to ask this question. I have a 1 field
form:

<form name="findCOEO" id="findCOEO" method="post"
action="ep_edit_coeo.asp?timesin=1">
<table width=300 border=0 cellspacing=15 cellpadding=3>
<tr bgcolor="#990000">
<th colspan=2>
Edit/View COEO Data
</th>
</tr>
<tr>
<td>
<b>Enter COEO #</b>
</td>
<td>
<input type=text name=coeo id=coeo size=12 maxlength=12>
</td>
</tr>
<tr>
<td align=center colspan=2>
<input type=submit name=getcoeo id=getcoeo value="Get
Data">&nbsp;&nbsp;<input type=reset name=reset1 id=reset1 value="Reset">
</td>
</table>
</form>


I read the form data in the action page as request.form("coeo"). On my
browser, IE6 this works exactly as planned. My coworker using the same
browser gets nothing returned from the field. Is there a configuration
setting that controls this? I have been doing this for many years and have
never had this issue before. Thanks for any help or direction you can give
me.


Evertjan. 10-23-2009 09:47 PM

Re: Form data not passed to action page
 
Rod Haggard wrote on 23 okt 2009 in
microsoft.public.inetserver.asp.general:

> Hopefully this is the correct group to ask this question. I have a 1
> field form:


Wrong NG.
This NG is about Cassic ASP serverside programming.

Forms are clientside.

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Neil Gould 10-24-2009 11:48 AM

Re: Form data not passed to action page
 
Rod Haggard wrote:
> Hopefully this is the correct group to ask this question. I have a 1
> field form:
>
> <form name="findCOEO" id="findCOEO" method="post"
> action="ep_edit_coeo.asp?timesin=1">
> <table width=300 border=0 cellspacing=15 cellpadding=3>
> <tr bgcolor="#990000">
> <th colspan=2>
> Edit/View COEO Data
> </th>
> </tr>
> <tr>
> <td>
> <b>Enter COEO #</b>
> </td>
> <td>
> <input type=text name=coeo id=coeo size=12 maxlength=12>
> </td>
> </tr>
> <tr>
> <td align=center colspan=2>
> <input type=submit name=getcoeo id=getcoeo value="Get
> Data">&nbsp;&nbsp;<input type=reset name=reset1 id=reset1
> value="Reset"> </td>
> </table>
> </form>
>
>
> I read the form data in the action page as request.form("coeo"). On
> my browser, IE6 this works exactly as planned. My coworker using the
> same browser gets nothing returned from the field. Is there a
> configuration setting that controls this? I have been doing this for
> many years and have never had this issue before. Thanks for any help
> or direction you can give me.
>

It may help to focus on your action page code, since that is what the
browsers are using when displaying the different results that you're seeing.

Best,

Neil




Dooza 10-26-2009 09:44 AM

Re: Form data not passed to action page
 
Rod Haggard wrote:
> Hopefully this is the correct group to ask this question. I have a 1
> field form:
>
> <form name="findCOEO" id="findCOEO" method="post"
> action="ep_edit_coeo.asp?timesin=1">
> <table width=300 border=0 cellspacing=15 cellpadding=3>
> <tr bgcolor="#990000">
> <th colspan=2>
> Edit/View COEO Data
> </th>
> </tr>
> <tr>
> <td>
> <b>Enter COEO #</b>
> </td>
> <td>
> <input type=text name=coeo id=coeo size=12 maxlength=12>
> </td>
> </tr>
> <tr>
> <td align=center colspan=2>
> <input type=submit name=getcoeo id=getcoeo value="Get
> Data">&nbsp;&nbsp;<input type=reset name=reset1 id=reset1 value="Reset">
> </td>
> </table>
> </form>
>
>
> I read the form data in the action page as request.form("coeo"). On my
> browser, IE6 this works exactly as planned. My coworker using the same
> browser gets nothing returned from the field. Is there a configuration
> setting that controls this? I have been doing this for many years and
> have never had this issue before. Thanks for any help or direction you
> can give me.


I might be wrong, but this:

<input type=text name=coeo id=coeo size=12 maxlength=12>

should be

<input type="text" name="coeo" id="coeo" size="12" maxlength="12">

Dooza

Tim Slattery 10-26-2009 12:59 PM

Re: Form data not passed to action page
 
Dooza <steveNO@SPAM.dooza.tv> wrote:

>I might be wrong, but this:


><input type=text name=coeo id=coeo size=12 maxlength=12>


>should be


><input type="text" name="coeo" id="coeo" size="12" maxlength="12">


Strictly speaking, yes you should use quotation marks for all the
attribute values. If you ran the page through the W3C validator, it
would pretty surely fail without them (depending on your DOCTYPE, if
you had one, I think).

But browsers are built to be *very* tolerant of HTML coding miscues,
and no browser should have trouble figuring this out.

--
Tim Slattery
Slattery_T@bls.gov
http://members.cox.net/slatteryt

Dooza 10-26-2009 02:38 PM

Re: Form data not passed to action page
 
Tim Slattery wrote:
> Dooza <steveNO@SPAM.dooza.tv> wrote:
>
>> I might be wrong, but this:

>
>> <input type=text name=coeo id=coeo size=12 maxlength=12>

>
>> should be

>
>> <input type="text" name="coeo" id="coeo" size="12" maxlength="12">

>
> Strictly speaking, yes you should use quotation marks for all the
> attribute values. If you ran the page through the W3C validator, it
> would pretty surely fail without them (depending on your DOCTYPE, if
> you had one, I think).
>
> But browsers are built to be *very* tolerant of HTML coding miscues,
> and no browser should have trouble figuring this out.


Maybe if the DOCTYPE is set to strict this might be an issue? Might be
worth trying out? Just in case? If it doesn't, at least the code has
been cleaned up a bit.

Dooza


All times are GMT. The time now is 10:19 AM.

Powered by vBulletin®. Copyright ©2000 - 2013, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.