_template

Custom view:
%%form_label{wiki_text_1}%%
%%form_data{wiki_text_1}%%

%%form_label{wiki_text_2}%%
%%form_data{wiki_text_2}%%

%%form_label{valid-this}%%
%%form_data{valid-this}%%

%%form_label{select-from}%%
%%form_data{select-from}%%

%%form_label{pass-field}%%
%%form_data{pass-field}%%

%%form_label{page-wit-path}%%
%%form_data{page-wit-path}%%

%%form_label{hidden-value}%%
%%form_data{hidden-value}%%

%%form_label{wiki_text_1}%%
%%form_data{wiki_text_1}%%

%%form_label{static-field}%%
%%form_data{static-field}%%

====

[[form]]
fields:
  wiki_text_1:
    label: Wiki 1
    type: wiki
  wiki_text_2:
    label: Wiki 2
    type: wiki
    before: **Before**
    after: --km--
  valid-this:
    label: Cell phone
    type: text
    hint: 123-456-789
    match: /^[0-9]{3}-[0-9]{3}-[0-9]{3}$/
    before: Before
    after: mph
  valid-this-2:
    label: Phone
    type: text
    hint: '(012) 345-67-89'
    default: '(012) 345-67-89'
  select-from:
    label: Select something
    type: select
    values:
      1: ooo1
      2: ooo2
      3: ooo3
      4: ooo4
      5: ooo5
      6: ooo6
    default: 3
  static-field:
    type: static
    value: "This is a static field with **bold** --strike-- and __underscor__"
  pass-field:
    label: Password
    type: password
    default: hidden pass
  page-wit-path:
    type: pagepath
    category: rthgrtyhsjg
    default: rthgrtyhsjg:5
  hidden-value:
    type: hidden
    value: This is hidden uneditable value.
  checkbox-field:
    type: checkbox
    label: Are you happy?
    default: 1
[[/form]]

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-ShareAlike 3.0 License