RE: text box output truncation
Well right off the bat I would have to say it's the fact that you are setting a maximum limit on the text of "50". MAXLENGTH Indicates the maximum number of characters that can be entered into a text field. This can be greater than specified by the SIZE attribute, in which case the field will scroll appropriately. The default number of characters is unlimited. Steven Semrau SRA International, Inc. Senior Member, Professional Staff [EMAIL PROTECTED] [EMAIL PROTECTED] Com: (703) 805-1095 DSN: (703) 655-1095 -Original Message- From: paul . [mailto:[EMAIL PROTECTED]] Sent: Monday, April 16, 2001 10:19 AM To: CF-Talk Subject: text box output truncation Hi Guys am experiencing a strange thing! when I try to get the vakue from the dateabse into the text bos for further editing .. the value for #meeting_name#gets truncated.. and am getting results like"Brand" when i wanted that to be "Brand new day" please suggest the code is Given down below -thanks -paul - Title Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: text box output truncation
Thanks micheal !. it works now -paul -- On Mon, 16 Apr 2001 17:26:35 Michael Lugassy wrote: >Use "" signs in the value >without it your value for textarea/text input will include only the first >word. > > >- Original Message - >From: "paul ." <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Monday, April 16, 2001 4:18 PM >Subject: text box output truncation > > >> Hi Guys am experiencing a strange thing! >> when I try to get the vakue from the dateabse into the text bos for >further editing .. the value for #meeting_name#gets truncated.. and am >getting results like"Brand" when i wanted that to be "Brand new day" >> please suggest the code is Given down below >> -thanks >> -paul >> - >> >> >> size="2">Title size="2"> >> maxlength="50" value=#rtrim(meeting_name)#> >> >> >> >> Get 250 color business cards for FREE! >> http://businesscards.lycos.com/vp/fastpath/ >> >> > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: text box output truncation
My understanding of trim is that it removes leading and trailing spaces only and not spaces on the interior. If the variables are url, then urlencodedformat() function might be appropriate. Seth - Original Message - From: "Judith Taylor" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, April 16, 2001 10:29 AM Subject: Re: text box output truncation > From my understanding of the TRIM() function, whenever it encounters a > space, it then removes any and all following information if it exists. > > So, if you're wanting to have the "Brand new day" outputted correctly, drop > the trim() portion. > > Judith > > paul . put into words: > >Hi Guys am experiencing a strange thing! > >when I try to get the vakue from the dateabse into the text bos for > >further editing .. the value for #meeting_name#gets truncated.. and am > >getting results like"Brand" when i wanted that to be "Brand new day" > >please suggest the code is Given down below > >-thanks > >-paul > >- > > > > > >> size="2">Title > > > maxlength="50" value=#rtrim(meeting_name)#> > > > > > > Judith Taylor > ICQ: 67460562 > Freelance ColdFusion Developer > > Friends don't let friends code before coffee. > > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: text box output truncation
From my understanding of the TRIM() function, whenever it encounters a space, it then removes any and all following information if it exists. So, if you're wanting to have the "Brand new day" outputted correctly, drop the trim() portion. Judith paul . put into words: >Hi Guys am experiencing a strange thing! >when I try to get the vakue from the dateabse into the text bos for >further editing .. the value for #meeting_name#gets truncated.. and am >getting results like"Brand" when i wanted that to be "Brand new day" >please suggest the code is Given down below >-thanks >-paul >- > > >size="2">Title > maxlength="50" value=#rtrim(meeting_name)#> > > Judith Taylor ICQ: 67460562 Freelance ColdFusion Developer Friends don't let friends code before coffee. ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: text box output truncation
Use "" signs in the value without it your value for textarea/text input will include only the first word. - Original Message - From: "paul ." <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, April 16, 2001 4:18 PM Subject: text box output truncation > Hi Guys am experiencing a strange thing! > when I try to get the vakue from the dateabse into the text bos for further editing .. the value for #meeting_name#gets truncated.. and am getting results like"Brand" when i wanted that to be "Brand new day" > please suggest the code is Given down below > -thanks > -paul > - > > > Title > > > > > Get 250 color business cards for FREE! > http://businesscards.lycos.com/vp/fastpath/ > > ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
text box output truncation
Hi Guys am experiencing a strange thing! when I try to get the vakue from the dateabse into the text bos for further editing .. the value for #meeting_name#gets truncated.. and am getting results like"Brand" when i wanted that to be "Brand new day" please suggest the code is Given down below -thanks -paul - Title Get 250 color business cards for FREE! http://businesscards.lycos.com/vp/fastpath/ ~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.cfm Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists