cancel
Showing results for 
Search instead for 
Did you mean: 

Forms questions

eldiegos
Champ in-the-making
Champ in-the-making
I'm testing activiti 5.1 inside eclipse. I've been searching in the documentation but i haven't found what i'm looking for. So i decided to ask here.

Is is possible to bind an Arraylist to a Select element in forms using FormService?

<select name="vacationOpntios">
    <option value="true">option1</option>
    <option value="false">option2</option>
    <option value="false">option2</option>
    <option value="false">option2</option>
   </select>

And also, is it possible to set restrictions in the <input type="date"  /> Imagine that you only want to restring the select_date to one year or avoid to user to select weekends.

Any ideas about these two questions?
Thanks.
1 REPLY 1

opal
Champ in-the-making
Champ in-the-making
According to the select element binding isn't possible. You need to change the form engine. Workaround is to prepare the select element in a ServiceTask and store it's as a variable. Search on forum.