Not sure about 1, but for 2 you should use HTML. So something like
First line
Second line
should work on a button.
Hi,
- readonly means you can not type a date anymore, but you can use the button
to disable the button use disable in a method :
elements.order_date.enabled = false;
- Use html in the text property of the button :
<html>Line 1
Line 2
Regards,
Hans
Edit :
=> unselecting the field property editable sets the textfield part of a datefield to readonly, but does not disable the button.
=> using ```
elements.order_date.readoOnly = true;
=> using ```
elements.order_date.enabled = false;
``` does that to but also grays-out the field. You can't even select/copy the content of the field.