Home
TeamSite
TeamSite, LiveSite and OpenDeploy
Order in select list
Andy Knipp
I have a select list that is hidden and filled out via formapi. There are no entries in the DCR, formapi adds options, selects all on save and saves.
So I set the value to 1,2,3,4,5,6,7,8,9 it gets saved correctly.
Open the XML and this looks fine.
However if you edit the DCR again the content gets all shuffled, now it is 3,5,7,2,9,4,8,6,1
So when I need to remove the 4th entry, it was 4, now it is 2, and I remove the incorrect entry.
Anyone ever try something like this before ? Should this work ? My formapi is not even running when it gets shuffled so I am certain that is not the issue.
I know I can figure out the value I am trying to remove instead of just the index. That is what I am going to have to do. Just curious if anyone has tried this before.
If I get some time I will post some code for a sample.
TS 6.7 on DOS
Andy
Find more posts tagged with
Comments
There are no comments yet