Populate a form

Results 1 to 4 of 4

Thread: Populate a form

  1. #1
    Join Date
    Dec 1969

    Default Populate a form

    What is the proper code to extract a field value from a recordset to populate a text box "value="

  2. #2
    BAM Guest

    Default <input type=text value=<%=rsTest("whatev

    &#060;input type=text value=&#060;%=rsTest("whateverfield")%&#062;&#062;

  3. #3
    Join Date
    Dec 1969

    Default RE: <input type=text value=<%=rsTest(

    Thanks BAM

  4. #4
    Ron Elliott Guest

    Default RE: Populate a form

    The code in BAM reply is correct except that you need to add quotes or the html will only display the first word of the field value.<BR><BR>&#060;input type="text" name="fieldname" value="&#060;%= rs("whateverfield") %&#062;"&#062;

Posting Permissions

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