Difference between revisions of "Form:Organization"
Jump to navigation
Jump to search
Line 85: | Line 85: | ||
== Foundation == | == Foundation == | ||
{{form row | {{form row | ||
− | + | |label=Date | |
− | + | |field={{{field | |
− | + | |Day Start | |
− | + | |input type=regexp | |
− | }}} | + | |regexp=/^\d*$/ |
− | + | |message=Only valid day of month | |
+ | |placeholder={{#time:j}} | ||
+ | |size=4 | ||
+ | |class=mr-1 | ||
+ | }}} {{{field | ||
+ | |Month Start | ||
+ | |input type=dropdown | ||
+ | |values=January,February,March,April,May,June,July,August,September,October,November,December | ||
+ | |placeholder={{#time:F}} | ||
+ | |class=mr-1 | ||
+ | }}} {{{field | ||
+ | |Year Start | ||
+ | |input type=regexp | ||
+ | |regexp=/^\d*$/ | ||
+ | |message=Only valid year | ||
+ | |placeholder={{#time:Y}} | ||
+ | |size=4 | ||
+ | |class=mr-1 | ||
+ | }}} | ||
+ | |fieldclass=d-flex align-items-center | ||
}} | }} | ||
{{form row | {{form row | ||
Line 152: | Line 171: | ||
</div> | </div> | ||
{{form row | {{form row | ||
− | + | |label=Type of date | |
− | + | |field={{{field | |
− | + | |Type of date | |
− | + | |input type=tokens | |
+ | |property=Type of date | ||
+ | |max values=1 | ||
+ | |mandatory | ||
+ | |placeholder=Select type of the date ... | ||
+ | |class=mr-2 | ||
+ | }}} | ||
+ | }} | ||
+ | {{form row | ||
+ | |label=End date | ||
+ | |field={{{field | ||
+ | |Day End | ||
+ | |input type=regexp | ||
+ | |regexp=/^\d*$/ | ||
+ | |message=Only valid day of month | ||
+ | |placeholder={{#time:j}} | ||
+ | |size=4 | ||
+ | |class=mr-1 | ||
+ | }}} {{{field | ||
+ | |Month End | ||
+ | |input type=dropdown | ||
+ | |values=January,February,March,April,May,June,July,August,September,October,November,December | ||
+ | |placeholder={{#time:F}} | ||
+ | |class=mr-1 | ||
+ | }}} {{{field | ||
+ | |Year End | ||
+ | |input type=regexp | ||
+ | |regexp=/^\d*$/ | ||
+ | |message=Only valid year | ||
+ | |placeholder={{#time:Y}} | ||
+ | |size=4 | ||
+ | |class=mr-1 | ||
}}} | }}} | ||
− | + | |fieldclass=d-flex align-items-center | |
}} | }} | ||
== Organizational Environment == | == Organizational Environment == |