Triming Whitespace in ASP.net form submits

Ask a Question related to Dreamweaver AppDev, Design and Development.

  1. #1

    Default Triming Whitespace in ASP.net form submits

    Hello all, I am using Dreamweaver MX 2004, ASP.net, SQL Server And when i
    insert a record using the generated form from the wizard, there is a lot of
    whitespace after each field (enough to max out the 32 column default value)
    How do you apply a trim whitespace to each field? This use to be so easy using
    CF Thanks

    Steveborough Guest

  2. Similar Questions and Discussions

    1. OSX 10.5 and Safari 3.1 double submits
      Hi All. I have a flex 2.01 app deployed, part this app is a form submit button. On OSX 10.5 leopard and running latest Safari 3.1 the button...
    2. CFC getter and whitespace
      Wondering if this is a bug. Using the following code. <cfapplication name="test" sessionmanagement="yes"> <cflock timeout="20" type="exclusive"...
    3. cannot get rid of whitespace
      The following code writes a file to the server, however when I check the file that it writes it starts the written code on line 2 and leaves a...
    4. triming characters
      I'm trying to trim blank spaces... on TrimChar s repeat with i = 1 to length(s) if NOT(char i of s = " ") then thisText = thisText + s.char...
    5. checking form whitespace
      I've created a function that checks form fields that only will have letters. This is the script: <script type="text/javascript"...
  3. #2

    Default Re: Triming Whitespace in ASP.net form submits

    Use varchar instead of char for the datatype of the field.

    --
    Jules
    [url]http://www.charon.co.uk/charoncart[/url]
    Charon Cart 3
    Shopping Cart Extension for Dreamweaver MX/MX 2004


    Julian Roberts Guest

  4. #3

    Default Re: Triming Whitespace in ASP.net form submits

    Thanks, works like a charm. Do you recommend any companion books for
    Dreamweaver MX 2004 and ASP.net Development. Thanks

    Steven
    "Julian Roberts" <newsg@charon.co.uk> wrote in message
    news:cuu52c$phs$1@forums.macromedia.com...
    > Use varchar instead of char for the datatype of the field.
    >
    > --
    > Jules
    > [url]http://www.charon.co.uk/charoncart[/url]
    > Charon Cart 3
    > Shopping Cart Extension for Dreamweaver MX/MX 2004
    >
    >

    Steven Johnson Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139