PTKen Posted January 24, 2003 Posted January 24, 2003 I would like to know if it's possible to display a value list that has "Other..." as an option (like in the FMP interface). This needs to work with Web Companion. I have looked through the documents and spent some time searching this site, but I can't find reference to this for Custom Web Publishing. I know you can't do it with Instant Web Publishing, but I'm hoping that's not the case for CWP. Thanks in advance for any help you can provide. Ken
Anatoli Posted January 25, 2003 Posted January 25, 2003 You can put the Other to the list manually, but it will not open window for specifying the Other values. It will be possible to do some things and tricks in JavaScript...
Garry Claridge Posted January 25, 2003 Posted January 25, 2003 You could use something like this: <select name="myfield"> <option value="">Other</option> [FMP-ValueList:myfield] <option value="[FMP-ValueListItem]" [FMP-ValueListChecked]>[FMP-ValueListItem]</option> [/FMP-ValueList] </select> Other Value:<input type="text" name="myfield"> Hope this is of value. Garry
PTKen Posted January 27, 2003 Author Posted January 27, 2003 This is a great idea! Thanks. I'll give this a try as soon as I can. My immediate thought (which I'll probably figure out as soon as I try it) is how to add the text field to the value list's field if the value is "Other" (assuming the value list is generated from the contents of a field) and how to just use the selected value if it is from the value list. Ken
Recommended Posts
This topic is 7963 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