Results 1 to 3 of 3

Thread: List box in Dreamweaver wont submit to record

  1. #1
    Join Date
    Mar 2005
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default List box in Dreamweaver wont submit to record

    Hi All,

    I have setup a list (as below) but when submitted it does not update the record. previously i had this working by just having the user enter the text but a drop down would be much better!

    [code]<select name="mainList" editable="true" edittext="">
    <option value="Please choose one">Please choose one</option>
    <option value="Yes">Declined</option>
    <option value="No">Lost</option>
    <option value="Maybe">Working</option>
    <select name="1" size="3"></select>[code]

    I have read that what i have will not work so im very interested to know how i can get this to work

    Thanks in advance!

  2. #2
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    i don't see any problem in your code here except, there no forget to close the <option> tag with </option>, may be you should see the javascript.

    And what tipe of button did you use?
    <input type="submit">

    or

    <input type="button" value="submit">

  3. #3
    Join Date
    Mar 2005
    Posts
    8
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    Hi Davelf this is the end of the code, i cant see what is wrong though which is frustrating.

    [code] <td><input type="submit" value="Insert record" /></td>
    </tr>
    </table>
    <input type="hidden" name="MM_insert" value="form2" />
    </form>
    <p>&nbsp;</p>
    </body>
    </html>[code]

    Am i missing something?

    Steve

Bookmarks

Posting Permissions

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