Newbies bnemhaus Posted October 26, 2000 Newbies Posted October 26, 2000 Hey all, I'm in a bit of pinch where I am depending on a dynamically-generated value list to match a dynamically-generated valueID list. The problem is that FM writes out the text values in Alphabetical order and writes out the IDs in ascending order. Here's the code and what I am seeing: var feature_list = new Array( "-No Selection-",[FMP-ValueList: ID, List=FeatureCategories] "[FMP-ValueListItem]",[/FMP-ValueList]" "); var id_list = new Array( "",[FMP-ValueList: ID, List=FeatureCategoryIDs] "[FMP-ValueListItem]",[/FMP-ValueList]" "); The "FeatureCategories" come out: "a", "b", "c" The "FeatureCategoryIDs" come out: "1", "2", "3" The problem is that the ID of FeatureCategory "b" is "3." This appears sorted properly in FM, but not in the HTML. Is there anyway to specify a sort when writing out a valuelist?
Recommended Posts
This topic is 8795 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