PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197

PHP User Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: bbcode_highlight in ..../includes/functions.php on line 4197
How to show tab characters in input text field
A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: How to show tab characters in input text field

  1. #1
    Senior Member
    Join Date
    Dec 2010
    Posts
    121

    Question How to show tab characters in input text field

    I am working on an application that allows user to copy and paste content into a text field. The problem I'm running across is that when the user paste something with a tab in it, the tab is not shown in the text field.

    For example, the original content is:
    Actionscript Code:
    Quantity:   0   0   0   0   1   20  0   0   0   0   0   0
    but inside the input text field, the content is shown as:
    Actionscript Code:
    Quantity:0000120000000

    I need to be able to split each value from the content the user input into the text field into an array of numbers. Working with what Flash input text field shows is impossible to separate the values. Any idea how to overcome this problem or display tab character as space?

    Thank you.

  2. #2
    Senior Member
    Join Date
    Dec 2010
    Posts
    121

    Question How to show tab characters in input text field

    I am working on an application that allows user to copy and paste content into a text field. The problem I'm running across is that when the user paste something with a tab in it, the tab is not shown in the text field.

    For example, the original content is:
    Quantity: 0 0 0 0 1 20 0 0 0 0 0 0
    but inside the input text field, the content is shown as:
    Quantity:0000120000000

    I need to be able to split each value from the content the user input into the text field into an array of numbers. Working with what Flash input text field shows is impossible to separate the values. Any idea how to overcome this problem or display tab character as space?

    Thank you.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center