display prepopulated value in textarea

Discussion in 'HTML & Website Design' started by tableman, Jul 20, 2007.

  1. #1
    I have prepopulated some values in a form copying entries made by visitors in a prior form.

    All prepopulated values display in text boxes, radio buttons, and select boxes.

    The prepopulated value for the textarea is also there, but does not display.

    The textarea in view source in IE7 lin the receiving form looks like this:

    <textarea rows="2" cols="37" name="goodname" Browser, please display this text /></textarea></p>
    </div>
    Code (markup):
    All boxes in the form are positioned by floating, if that makes any difference.

    How do I get browsers to display prepopulated text in the textarea?
     
    tableman, Jul 20, 2007 IP
  2. tableman

    tableman Peon

    Messages:
    36
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Problem solved.

    It isn't enough to have the value prepopulate into the textarea.

    It's also must prepopulate the right way.

    The php was prepopulating the value even though the php was not coded correctly.

    By fixing how the value gets there, now it displays.
     
    tableman, Jul 20, 2007 IP