setting the contents of a dynamic text box

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

  1. #1

    Default setting the contents of a dynamic text box

    Hi I am new to this so please bare with me ,, I am trying to set the contents
    of a textbox to the selected value of a listbox the contents of the textbox is
    being used to insert or update data that part I know how to do but setting the
    value to the selected item I dont know how to do.

    keithjak Guest

  2. Similar Questions and Discussions

    1. URGENT!!! Contents of dynamic text box does not show
      I have a dynamic text box that gets its content from an external text file. I have set the dynamic text box to render its content as HTML. Anyway,...
    2. Manipulating contents of Text Field
      My task is to build a login form. My only tool is HTML - the site does not have Coldfusion. It is a very simple form except that the username...
    3. Can This be done? Dynamic jump menus listing folder contents!
      Hello all, We have: MS Advanced server2000 ASP MS SQL latest stable: PHP Active Perl
    4. Continguous unbound form - setting contents on load/open
      Hi, I have an unbound form set to display all records continguously. I have data that I'd like to assign to multiple records in the form...
    5. text file contents into a form
      On Mon, 14 Jul 2003 22:16:22 -0700, "mk sabeel" <mk_sabeel@yahoo.co.in> wrote: Is this how they're laid out in the file - fieldname, equals...
  3. #2

    Default Re: setting the contents of a dynamic text box

    Hi Keith

    Add the javascript below to your select form item;

    <select name="select" onChange="Javascript:document.form1.textfield.valu e =
    document.form1.select.value">

    Change where it says form1 to the name of your form.
    Change where it says textfield to the name of your textfield.
    Change where it says select to the name of your select item.

    Regards
    Bren

    /**********************************************
    Why do I climb mountains?
    Because they are there!
    [url]www.3peakschallenge.co.uk[/url]
    *********************************************/


    Bren 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