Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

spaces at end of item

Status
Not open for further replies.

lecorr

Programmer
Apr 9, 2003
62
FR
Hi all,

How to get a text item content including the ending spaces?

Eg: the user types 'Hello ' (with 3 spaces)

When I use length:)block.item), I get 5 and not 8.

I tried all the :system.cursor_value... around and found nothing.

So does someone knows how to get the full content of the item?

Thank you.
 
This is a forms 'feature' - text items will always remove trailing spaces.

The only way I have found around this is to use a combo list item. It has the disadvantage of being messy but the advantage that, with the right programming, you can maintain a list of 'previously entered' values should you need them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top