Log in

View Full Version : List box in Dreamweaver wont submit to record



steveh
08-13-2009, 05:53 PM
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!

davelf
08-14-2009, 01:59 AM
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">

steveh
08-14-2009, 08:07 AM
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