Loading ...
Sorry, an error occurred while loading the content.
 

Padding a text field with spaces

Expand Messages
  • tommarino
    I want to write the following in javascript. If Length of TextField1
    Message 1 of 1 , May 2, 2005
      I want to write the following in javascript.

      If Length of TextField1 < 10 Then
      TextField1 = TextField1 + "nbsp;"
      Loop

      (I want to add spaces to the textfield, if the field length is less
      than 10)

      Thanks

      Tom
    Your message has been successfully submitted and would be delivered to recipients shortly.