September 12, 200025 yr When I do a search for records, I want the page to come up with the selected record and it's correct data, but the drop-down menus should have the correct data selected. Im using the following code to have the drop down menus contents entered, but it puts 'checked' in the <option> tag when I really need it to add 'selected' to the tag. <select size="1" name="D1"> [FMP-ValueList:drop,list=drop] <option [FMP-ValueListChecked]>[FMP-ValueListItem] [/FMP-ValueList] </select> How can I get it to fill in the drop-down menu and still select the correct item in the menu? Again, 'checked' doesn't work. I've tried using [FMP-IF:] statements, but they don't seem to be working within a [FMP-Valuelist] statement. Can someone help please? Thanks
September 12, 200025 yr this code should work, it's editable though. <SELECT NAME="field name here"> [FMP-OPTION: field name here, list=value list name here] </SELECT> like i said, though, it's an editable field that shows what was selected and if they try and edit this record, it probably won't work. This should really only be used on the Record Detail Page. On the search page, maybe you should just use this: [FMP-FIELD: field name here] which is non-editable and will show whatever has been selected. Jeremy [This message has been edited by yafreax (edited September 12, 2000).]
Create an account or sign in to comment