Ask a Question related to Macromedia Dynamic HTML, Design and Development.
-
abanana #1
value= space between two fields
:confused;
Hi,
I need some help with this one, I'm confused and I've tried everything but the
right code.
I have a form and is concatenating these two values
<input type="text" name="txtName" value="<%= objLogin("FirstName") %> <%=
objLogin("LastName") %>">
I need to put a space between <%= objLogin("FirstName") %> AND <%=
objLogin("LastName") %>
So they don't show together
Any help will be greatly appreciated,
Thanks
a-banana
abanana Guest
-
#26351 [Opn->Bgs]: Incorrect handling of Null Fields/Numerical Fields with '0'
ID: 26351 Updated by: iliaa@php.net Reported By: jabberwocky at ibplanet dot com -Status: Open +Status: ... -
#26351 [NEW]: Incorrect handling of Null Fields/Numerical Fields with '0'
From: jabberwocky at ibplanet dot com Operating system: Any PHP version: 4.3.4 PHP Bug Type: MSSQL related Bug description: ... -
#26315 [Com]: mssql_fectch_* functions are returning a space char on empty fields
ID: 26315 Comment by: w1lz0r at barrysworld dot net Reported By: webmaster at cbre dot fr Status: Bogus Bug... -
#26315 [Opn->Bgs]: mssql_fectch_* functions are returning a space char on empty fields
ID: 26315 Updated by: iliaa@php.net Reported By: webmaster at cbre dot fr -Status: Open +Status: ... -
#26315 [NEW]: mssql_fectch_* functions are returning a space char on empty fields
From: webmaster at cbre dot fr Operating system: Windows 2000 Server PHP version: 4.3.4 PHP Bug Type: MSSQL related Bug... -
-D- #2
Re: value= space between two fields
Give this a try:
<input type="text" name="txtName" value="<%= Trim(objLogin("FirstName")) &
" " & Trim(objLogin("LastName")) %>">
I also added "Trim" to remove any spaces before or after the rescordset
values for the first and last name. So, you should have only one space
between the first and last name.
Hope that helps.
Regards,
-D-
"abanana" <webforumsuser@macromedia.com> wrote in message
news:dgvui7$dks$1@forums.macromedia.com...but the> :confused;
> Hi,
> I need some help with this one, I'm confused and I've tried everything> right code.
> I have a form and is concatenating these two values
> <input type="text" name="txtName" value="<%= objLogin("FirstName") %> <%=
> objLogin("LastName") %>">
> I need to put a space between <%= objLogin("FirstName") %> AND <%=
> objLogin("LastName") %>
> So they don't show together
>
> Any help will be greatly appreciated,
> Thanks
> a-banana
>
-D- Guest
-
abanana #3
Re: value= space between two fields
;)
-D-,
Thanks so much. It did the trick!
a-banana
abanana Guest
-
-D- #4
Re: value= space between two fields
No problem...glad to help.
-D-
"abanana" <webforumsuser@macromedia.com> wrote in message
news:dh13dc$7uk$1@forums.macromedia.com...> ;)
> -D-,
> Thanks so much. It did the trick!
> a-banana
-D- Guest



Reply With Quote

