The 'text' field type

Defines a text or text box field. Allows 'width' and 'height' as properties. If you don't specify a height you get a normal 1-line text field. If you do specify it, you get a text box. For example:

    label: Your name
    type: text
    width: 30
    label: Your comment
    type: text
    width: 50
    height: 3
    label: email address
    match: /^[_a-zA-Z0-9\-\+]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)+$/

The specific properties you can use on a text field:

  • width: specifies the visible field width in columns (fixed spaced characters, more or less).
  • height: specifies the field height in rows, 1 is normal text field, 2 or more is a text box.
  • match: specifies a regular expression (regex) that the field value must match.
  • match-error: specifies a custom error message.
  • hint: provides a string of text that is displayed in the field when empty.
  • default: defines a default value for the field shown on new pages.

In the hint, if you want to use special characters like a # then you need to escape the character using \. For example, hint: enter a colorname like white or a hex value like \#468259

Wiki syntax does not work in a text field.

黄州开出租车赚钱吗 两肖两码料 意甲联赛 浙江20选5走势图(带坐标线 新快赢481玩法 怎么买指数股票 浙江游戏大厅温州茶苑 极速电玩捕鱼下分版 湖南亲友麻将 精准杀一波 优乐精江西抚州麻将下载 王者捕鱼赢话费下载 南宁牌封胡怎么算 香港彩现场开奖直播 广东36选7开奖公告 金蟾捕鱼街机 广东麻将软件