Changing text box line to textarea box with CF attribute

Discussion in 'Programming' started by freshmo55, Dec 20, 2007.

  1. #1
    Hi all,

    I am trying to change a little feature on a website that was developed for me but now I am just trying to tweak this one little piece.

    I currently have this code in place:
    <tr>
    <td><span class="NormalText">Notes:</span></td>
    <td><input type="text" name="Notes" maxlength="255" size="35" value="#OfficeNote#"></td>
    </tr>

    As you can see it is allowing it to create a small text box line for "notes". I want to change this to a large "textarea" but when I try to change the code the database information from "officenote" does not import correctly. Can anyone tell me how to change this so it goes from a text box line to a full text area that allows for more content?
     
    freshmo55, Dec 20, 2007 IP
  2. unitedlocalbands

    unitedlocalbands Well-Known Member

    Messages:
    246
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    128
    #2
    Try this out:

    
    <input type="textarea" name="Notes" cols="25" rows="10">#OfficeNote#</textarea>
    
    Code (markup):
    If you are trying to format the way the text looks then you will need some different code. Textareas dont support any sort of format. Hope this helps.

    :)
     
    unitedlocalbands, Dec 20, 2007 IP