Changes between Version 14 and Version 15 of TracFormsPlugin/Syntax


Ignore:
Timestamp:
May 1, 2011 10:58:58 PM (3 years ago)
Author:
hasienda
Comment:

introduce extened syntax for input field similar to textarea

Legend:

Unmodified
Added
Removed
Modified
  • TracFormsPlugin/Syntax

    v14 v15  
    5454|| '''tf.checkbox''' || 0.1 || name [value] || Put an HTML checkbox here.  Use value only if specified (simply "on" is default). || 
    5555|| '''tf.radio''' || 0.1 || name value || Put an HTML radio button here.  Use the name and value pair together. || 
    56 || '''tf.input''' || 0.1 || name default || Put an HTML form input field here. || 
     56|| '''tf.input''' || 0.1/0.4 || name [content] [size] || Put an HTML form input field here. '''since 0.4''': If content is provided, it is used as a default.  size, if specified, indicate the width of the input field in characters. Use {{{''}}} for content to specify the size of a blank area. || 
    5757|| '''tf.select''' || 0.2 || name value[//label]... || Put a SELECT dropdown list here.  The values are by default used as labels but can be added if //label is used (the // is removed) || 
    58 || '''tf.textarea''' || 0.2 || name [content] [cols] [rows] || Add a textarea of the specified label.  If content is provided, it is used as a default.  cols and rows if specified indicate the size the textarea should occupy. Use {{{''}}} for content to specify the size of a blank area. || 
     58|| '''tf.textarea''' || 0.2 || name [content] [cols] [rows] || Add a textarea of the specified label.  If content is provided, it is used as a default.  cols and rows, if specified, indicate the size the textarea should occupy. Use {{{''}}} for content to specify the size of a blank area. || 
    5959 
    6060Starting in 0.2, the form field operations all accept -class= or -id= to set the CSS class or ID for the field.