Form:Test form: Difference between revisions

no edit summary
No edit summary
No edit summary
 
(36 intermediate revisions by the same user not shown)
Line 1:
<noinclude>
__NOCACHE__
 
{{DISPLAYTITLE:Standard Journal Entry}}
<div style="text-align:center;">
<span class="newwin">[[File:CLW2.png|200px|link=https://www.opendemocracy.net]]</span>
 
 
----
 
 
{{#formlink:form=Test form|link text=<big><big>Create New test</big></big>|link type=button|returnto=Form:Test form}}</div>
 
 
 
{{Articles Table Format
|publication=openDemocracy
|table=Articles
}}
 
 
{{GotoCreateArticleMP}}
 
 
 
 
</noinclude><includeonly>
{{{info|page name=JS<unique number;start=000001>}}}
{{{info|create title=Standard Journal Entry}}}
<div id="wikiPreview" style="display: none; padding-bottom: 25px; margin-bottom: 25px; border-bottom: 1px solid #AAAAAA;"></div>
 
Line 33 ⟶ 17:
{| class="formtable"
! Description
| {{{field|Description|size=50100|mandatory|maxlength=50100}}}
|-
!
| {{{field|creator|hidden|default=current user}}}
|}
{{{end template}}}
 
{| class="wikitable"
|-
! Header text !! Header text
|-
| Example || Example
|}
 
{{{for template|Test template|multiple|minimum instances=12|maximum instances=20|}}}
{| class="formtable"
| {{{field|Company}}} || {{{field|CostCentre|size=8|input type=combobox|values from category=Morning Star|mandatory|size=30strict}}}||{{{field|Account|mandatory|size=16}}} || {{{field|SubAccount|mandatory|size=16}}} || {{{field|Credit|mandatory|input type=number|size=16}}} || {{{field|Debit|mandatory|size=16}}}
|-
! Company || Costcentre || Account || Subaccount || Credit || Debit
| {{{field|Company}}} || {{{field|CostCentre|input type=combobox|values from category=Morning Star|mandatory|size=30}}}||{{{field|Account|mandatory|size=16}}} || {{{field|SubAccount|mandatory|size=16}}} || {{{field|Credit|mandatory|input type=number|size=16}}} || {{{field|Debit|mandatory|size=16}}}
|}
{{{end template}}}
 
 
 
{{#cargo_query:
|table=ArticlesLedger
|fields=_pageName
|where=_pageName="JS000001"
|order by=_pagetitle ASC
}}
 
 
 
{{{standard input|save|label=Save Journal}}} {{{standard input|save and continue|Save and Continue|}}} {{{standard input|cancel}}} {{Clickable button 2|<small>New Journal</small>|url=https://wiki.campaign-labour.org/wiki/Special:FormEdit/Test_form?returnto=Form%3ATest+form}}
</includeonly>
 
<!---|-
! Company ||!! CostcentreCC ||!! Account ||!! Subaccount ||!! Credit ||!! Debit -->
|-