navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
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

Search Forums
 

Advanced search
Recent Posts

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

 

Empty space in the text box!

 
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 >> Empty space in the text box!
Page: [1]
 
box

 

Posts: 130
Joined: 12/10/2002
Status: offline

 
Empty space in the text box! - 1/17/2008 3:06:11   
I have a update form with the initial value of <%=FP_FieldVal(fp_rs,"firstname")%> for the text box, the problem is if the field was empty before update, it show a empty space in the text box and i have to use backspace to delete this space! it does it for all the empty field! any idea why and how to fix it? thanks
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Empty space in the text box! - 1/17/2008 8:14:57   
quote:

<%=FP_FieldVal(fp_rs,"firstname")%>


Try using it without Val as in:

<%=FP_Field(fp_rs,"firstname")%>

Hope it helps.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to box)
box

 

Posts: 130
Joined: 12/10/2002
Status: offline

 
RE: Empty space in the text box! - 1/17/2008 12:09:50   
rdouglass, thanks a lot for reply, now in the update form if i refresh the page the cursor shows no empty space in the text box but if click the next box it shows again an empty space as well for the rest:)

(in reply to rdouglass)
rdouglass

 

Posts: 9280
From: Biddeford, ME USA
Status: offline

 
RE: Empty space in the text box! - 1/17/2008 12:40:39   
quote:

click the next box


I'm not sure what that means.

I do know that if you remove the "Val" from "FP_FieldVal" the DRW will not 'pad' nulls with a space. Where the space is coming from on other pages may be due to the same thing or it may be due to spaces being in your DB but I'm not sure on that one.

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to box)
Page:   [1]

All Forums >> Web Development >> ASP and Database >> Empty space in the text box!
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