jburge Posted December 21, 2000 Share Posted December 21, 2000 I'm creating a web page that allows users to edit records. I'd like to simulate the pop up lists on my database by using <select> in the html. Normally, I'd just use: <select name="name"> [FMP-option: fieldname, list=listname] </select> However, because users can also enter their own data in addition to using the pop up list in the database, I want to test for what's in the field and match it against my value list before creating the <select>. Here's what I'm trying, but it's not working: <select name="name"> [FMP-If: fieldname .neq. valueListItem] <option>[FMP-FIELD: fieldname] [/FMP-If] [FMP-option: fieldname, list=listname] </select> I can't figure out what "valueListItem" is returning, if anything, and the CDML reference doesn't give much help. Any ideas/suggestions would be greatly appreciated. Thanks. Link to comment Share on other sites More sharing options...
yafreax Posted December 21, 2000 Share Posted December 21, 2000 well, this doesn't exactly answer your question, but i do a work around for this as follows. It requires two fields: Field A : Text entry field Field B: Pop-up with values from on Field A then what would do (if you don't already see it) have field B first as a pop-up, then a dialog such as, if item isn't in list, type in here, or whatever. and have Field A as the "Other." This is a pretty simple, fast way of doing it. hope it helps yafreax Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 8551 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now