cancel
Showing results for 
Search instead for 
Did you mean: 

Designer field definitions - what is what?

ericsnyder
Champ on-the-rise
Champ on-the-rise
I have looked in the docs, on the web and in the forum. I am looking for a explanation of what the form field settings are. For instance, below I have listed all the field settings and what my guess is regarding what they do. All my questions are in bold.

I would greatly appreciate it if someone in the know could help out with answering these noobie questions.

Thanks in advance, I'll greatly appreciate it.

Id: like a variable identification
Name: What is displayed as the label for the form
Type: data type - legal values: string, long, enum, date, boolean
Expression: ???
Variable: ??? I *think* this is the variable to store the value in. It takes the format "${variableName}" without the quotes???
Default: The default value displayed in the form. As far as I can tell you may not use a variable here.
Date pattern: A pattern for formatting the date.
Readable: Is the field readable??? Not sure when you would use this???
Writeable: Can the field value be changed?
Required: Must be filled in with an appropriate value to submit.

Form values:
Id: ????
Name: ????
(I have no idea what these do or what their legal values would be)
2 REPLIES 2

trademak
Star Contributor
Star Contributor
Hi,

You can find answers to most of your questions here:

http://www.activiti.org/userguide/index.html#formProperties

If readable is false, then the property will not be returned as part of the TaskFormData object and will therefore not be displayed.
And yes writeable means that you can submit a value of that property. If writeable is false, then it's a readonly property.

Form values can be defined for enum property types. So you fill-in a list of form values with an id (=value) and name (=caption).

Best regards,

udoderk
Champ in-the-making
Champ in-the-making
…and her about expressions