NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Scrollbar
iconsfalse

Page info
title
title

The set data macro allows the user to enter text in a single-line or multiple-line text field.

More information

Multiexcerpt include
nopaneltrue
MultiExcerptNameExitDisclaimer
PageWithExcerptwikicontent:Exit Disclaimer to Include

The general form is

Code Block
Wiki Markup
{scrollbar:icons=false}
h1. Enter Field Data with the Set-data Macro

The set-data macro allows the user to enter text in a single-line or multiple-line text field.

[More information|http://www.customware.net/repository/display/AtlassianPlugins/set-data]

{code}{set-data:[Field Name]|type=[text/number/date/boolean/content/attachment/user|format=[date or number format]|hidden=[true/false]}Value{set-data}{code}

{code}{

An example follows.

Code Block
{set-data:TestSetDataField|type=text}Test of Set-data{set-data}{code}

{

The set data macro establishes the data.

:|=
Set Data
name
TestSetDataField
type
text
}Test of Set-data

The get data macro displays the data.

Code Block
{set-data}

The get-data macro can display this data.

{code}{get-data:name=TestSetDataField}{get-data}{code}

{
:=TestSetDataField}{get-data} {scrollbar:icons=false}
Get Data
name
TestSetDataField
separatornewline
 
Scrollbar
iconsfalse