Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > Form data not passed to action page

Reply
Thread Tools

Form data not passed to action page

 
 
Rod Haggard
Guest
Posts: n/a
 
      10-23-2009
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.

 
Reply With Quote
 
 
 
 
Evertjan.
Guest
Posts: n/a
 
      10-23-2009
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)
 
Reply With Quote
 
 
 
 
Neil Gould
Guest
Posts: n/a
 
      10-24-2009
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



 
Reply With Quote
 
Dooza
Guest
Posts: n/a
 
      10-26-2009
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
 
Reply With Quote
 
Tim Slattery
Guest
Posts: n/a
 
      10-26-2009
Dooza <> 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

http://members.cox.net/slatteryt
 
Reply With Quote
 
Dooza
Guest
Posts: n/a
 
      10-26-2009
Tim Slattery wrote:
> Dooza <> 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
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Struts: 1 action, 1 Form, several views handled by 1 only action. Any idea for better design? John Java 0 06-26-2007 11:22 PM
Action called twice when form enctype is multipart/form-data Duncan Java 0 02-24-2006 11:18 AM
javascript form validation - form action to another asp page iam247@gmail.com ASP General 7 08-20-2005 10:06 PM
javascript form action = send form details to ASP page iam247@gmail.com Javascript 2 08-07-2005 08:16 AM
Struts Static Action Form vs Dyanamic Action Form Joe Bloggs Java 1 08-03-2003 02:30 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57