Gunter D'Hondt wrote:
Hi,

Is there a way to easily add a field into the form definition that declares a static selection list with values from 1 to 99. Ofcoz it would work when adding 99 item-lines but is there a more fancy way of doing this? Also without making the list dynamic and putting another pipeline on it.

  <wd:field id="score" required="true">
    <wd:label>Your score:</wd:label>
    <wd:datatype base="string"/>
    <wd:selection-list>
      <wd:item value="1"><wd:label>1</wd:label></wd:item>
      <wd:item value="2"><wd:label>2</wd:label></wd:item>
      <wd:item value="3"><wd:label>3</wd:label></wd:item>
      <wd:item value="4"><wd:label>4</wd:label></wd:item>
      <wd:item value="5"><wd:label>5</wd:label></wd:item>
      <wd:item value="6"><wd:label>6</wd:label></wd:item>
     ...
      <wd:item value="99"><wd:label>99</wd:label></wd:item>
    </wd:selection-list>
  </wd:field>


you could set the values in flowscript using a for loop.

--
Reinhard

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to