navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

2 Update Fields on 1 Display line fail ???

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> 2 Update Fields on 1 Display line fail ???
Page: [1]
 
OldGrunter

 

Posts: 17
Joined: 11/14/2007
Status: offline

 
2 Update Fields on 1 Display line fail ??? - 11/20/2007 18:12:55   
This snip works:
[code]
<form name=”AdminUpdateFormY31” action="AdminUpdateRegistryConfirmY1.asp" method="post">

<p><b>The Full VIN :</b> <input TYPE="TEXT" NAME="FullVIN" Size=15 VALUE="<%=FP_FieldVal(fp_rs,"FullVIN")%>"></p>
<p><b>Submitted By :</b><input TYPE="TEXT" NAME="AddBy" Size=35 VALUE="<%=FP_FieldVal(fp_rs,"AddBy")%>"></p>
<p><b>Date Added :</b> <input TYPE="TEXT" NAME="DateAdded" Size=12 VALUE="<%=FP_FieldVal(fp_rs,"DateAdded")%>"></p>

<p><b>Model Year : </b><input TYPE="TEXT" NAME="ModelYear" Size=4 VALUE="<%=FP_FieldVal(fp_rs,"ModelYear")%>"></p>
<p>Short VIN: <input TYPE="TEXT" NAME="VIN" Size=10 VALUE="<%=FP_FieldVal(fp_rs,"VIN")%>"></p>
<p><font size="3" color="#008000"><img border="0" src="../../images/02black.jpg" width="815" height="11"></font></p>

[\code]

While this one fails to update, although no error is reported:

[code]
<form name=”AdminUpdateFormY311” action="AdminUpdateRegistryConfirmY1.asp" method="post">

<p><b>The Full VIN :</b> <input TYPE="TEXT" NAME="FullVIN" Size=15 VALUE="<%=FP_FieldVal(fp_rs,"FullVIN")%>">    Short VIN: <input TYPE="TEXT" NAME="VIN0" Size=10 VALUE="<%=FP_FieldVal(fp_rs,"VIN")%>"></p>
<p><b>Submitted By :</b><input TYPE="TEXT" NAME="AddBy" Size=35 VALUE="<%=FP_FieldVal(fp_rs,"AddBy")%>"></p>
<p><b>Date Added :</b> <input TYPE="TEXT" NAME="DateAdded" Size=12 VALUE="<%=FP_FieldVal(fp_rs,"DateAdded")%>"></p>

<p><b>Model Year : </b><input TYPE="TEXT" NAME="ModelYear" Size=4 VALUE="<%=FP_FieldVal(fp_rs,"ModelYear")%>"></p>
<p><font size="3" color="#008000"><img border="0" src="../../images/02black.jpg" width="815" height="11"></font></p>

[\code]

All I *think* I did was to move one field to display on the same line as the first.
(I won't tell you how long it took to isolate this issue - frown.)

The name on the 2nd field had a ZERO apprended> NAME="VIN0"<
I've gone back an forth between the "micro" different versions, and the NAME change REPEATS!!!


Anyone know why? (Why those Rat B@5T@RD$ change my code!!!)
William Lee

 

Posts: 1179
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: 2 Update Fields on 1 Display line fail ??? - 11/20/2007 23:51:07   
Can you check on the Formy311 that you do not have another input type with a name already = "VIN".

The reason why the name is appended a "0" indicates that FP may have detected an existing element with the same name as "VIN".

_____________________________

William Lee

pǝssǝɟoɹd-ɟ1ǝs ʎɥʇɹoʍʇsnɹʇ ʇsoɯ ɹnoʎ
nɹnb ǝsɐqɐʇɐp & dsɐ ,ʍɹp ,ǝbɐdʇuoɹɟ





(in reply to OldGrunter)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> 2 Update Fields on 1 Display line fail ???
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts