Form data not passed to action page

R

Rod Haggard

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.
 
E

Evertjan.

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.
 
N

Neil Gould

Rod said:
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
 
D

Dooza

Rod said:
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
 
T

Tim Slattery

Dooza said:
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.
 
D

Dooza

Tim said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top