Difference between revisions of "Form:Project"
Jump to navigation
Jump to search
Line 61: | Line 61: | ||
{{{for template|Award|multiple|embed in field=Project[Awards]|add button text=Add an Award}}} | {{{for template|Award|multiple|embed in field=Project[Awards]|add button text=Add an Award}}} | ||
{| | {| | ||
− | |- | + | |- |
|<p class="small" title="Mandatory field">AWARD: *</p> | |<p class="small" title="Mandatory field">AWARD: *</p> | ||
|{{{field | |{{{field | ||
Line 85: | Line 85: | ||
|Award Year | |Award Year | ||
|input type=dropdown | |input type=dropdown | ||
− | |values={{#arraydefine: years | + | |values={{#vardefine: year|{{#expr:{{CURRENTYEAR}} + 2}} }}{{#arraydefine: years |
|{{#while: | |{{#while: | ||
|{{#ifexpr: {{#var: year}} > 1993 | true }} | |{{#ifexpr: {{#var: year}} > 1993 | true }} | ||
Line 95: | Line 95: | ||
|mandatory | |mandatory | ||
|default={{CURRENTYEAR}} | |default={{CURRENTYEAR}} | ||
− | }}}{{#arrayreset: years}} | + | }}}{{#arrayreset: years}}{{#vardefine: year|{{#expr:{{CURRENTYEAR}} + 2}} }} |
|- | |- | ||
|<p class="small">AWARD OUTCOME: </p> | |<p class="small">AWARD OUTCOME: </p> |