Difference between revisions of "Form:Organization"

From Wayne County, Ohio Online Resource Center
Jump to navigation Jump to search
Line 40: Line 40:
 
  |label-valign=start
 
  |label-valign=start
 
}}
 
}}
{{form row
+
{{{field
|label=Industry sector
+
  |Industries
|field={{{field
+
  |holds template
  |Industry sector
 
|input type=dropdown
 
|values from property=Industry sector
 
|placeholder=Select from the list ...
 
|class=type-of-industry
 
}}}
 
|class=my-1
 
}}
 
{{form row
 
|label=Sub-Industry
 
|field={{{field
 
|Sub-Industry
 
|input type=SF_Select
 
|function=ask:((-Has subobject::Property:Sub-Industry/By sectors))((Industry sector::@@@@));?Sub-Industry;mainlabel~-;headers~hide;format~array;sep~,;manysep~,
 
|field=Industry sector
 
  |sametemplate
 
 
}}}
 
}}}
}}
 
 
{{form row
 
{{form row
 
  |label=Brands
 
  |label=Brands
Line 322: Line 305:
 
  |autogrow
 
  |autogrow
 
  |placeholder=Notes ...
 
  |placeholder=Notes ...
 +
}}}
 +
}}
 +
{{{end template}}}
 +
{{{for template|Industry|multiple|embed in field=Organization[Industries]|add button text=Add industry}}}
 +
{{form row
 +
|label=Industry sector
 +
|field={{{field
 +
|Industry sector
 +
|input type=dropdown
 +
|values from property=Industry sector
 +
|placeholder=Select from the list ...
 +
|class=type-of-industry
 +
}}}
 +
|class=my-1
 +
}}
 +
{{form row
 +
|label=Sub-Industry
 +
|field={{{field
 +
|Sub-Industry
 +
|input type=SF_Select
 +
|function=ask:((-Has subobject::Property:Sub-Industry/By sectors))((Industry sector::@@@@));?Sub-Industry;mainlabel~-;headers~hide;format~array;sep~,;manysep~,
 +
|field=Industry sector
 +
|sametemplate
 
}}}
 
}}}
 
}}
 
}}

Revision as of 06:59, 12 April 2022