Label align in form

Hello,
I want to use a label in a form, to put it above a textarea. I’m using this configuration:

{ type:"label", label: "E-Mailtext nach Link", align:'left'}, { type:"textarea", id:'field_g', value: "Text", width:500, height:80},

My first question is, if the label element is supported in the form context, because it isnt’t documented in the form controls list (docs.dhtmlx.com/touch/doku.php?id=form_controls). But I tried it and it works :astonished:

Mi second question, how can I align the label to the left side, because it comes with an width of 300px and center align.

Best regards
Horst Muerdter
CrossData-Tools

Form can include all toolbar’s controls, including label
docs.dhtmlx.com/touch/doku.php?id=controls#label

how can I align the label to the left side
You can use width property to define label width, and css to define any other styles

.mylabel { text-align:left; } ... { type:"label", label: "E-Mailtext nach Link", css:'mylabel'},