Multi-select drop down list
I am using this element type and it returns a delimited string of the results. I thought about setting it to a repeating field process element to parse the string using the loop functions but it won't allow the mapping of the elements to a variable.
Has anyone used this and found an easy way to loop through the delimited string??
-
I'm not following your exact requirement, so here's some options from what I can understand.
1) If you need to parse a delimited string within a form, then I'd recommend JavaScript.
2) If you need to change the process flow based upon the returned string, a series of IF statements may be plausible for low quantities of return values.
3) Some quick C# code within the Update Process Data stencil is also a possibility depending on the requirement. I did something similar to extract the individual emails from a multiple selection group of AgilePoint user groups, but since I avoided repeating elements, I could use looping logic and a bit of C# to get that functionality.
I haven't messed with repeating schema elements enough to know how to append new data to a repeating element, so if that's part of your requirement, perhaps someone else can help out.
-
We were unable to use a checkbox even, so it would be the same with multi select list. We also had no success with using JS to put it to a repeating process data element. What we needed to do was create a hidden repeating subform to store the data from the multi select. Then use a rule on 'Before Submit' to run JS to put it into the subform. The subform is perfect for the loop.
サインインしてコメントを残してください。
コメント
2件のコメント