Takes 5 parameters, Location, Mode, Title, Element, Class
Location, Mode, Title, Element, Class
Location, Mode, Title, Element, [""]
Location, ["Append"], Title, Element, [""]
["Runtime"], ["Append"], Title, Element, [""]
["Runtime"], ["Append"], Title, ["a"], [""]
["Runtime"], ["Append"], [""], ["a"], [""]
Use EnsureNavFields to Ensure the list of Fields that the HtmlDropdown command uses exist in the Query. Typically, you would have setup the Query to contain all of the information you wish to use to build a menu with ahead of time, then call EnsureNavFields, and then Set or Build your data into each of the Nav Fields. At the moment, the fields are:
* **Nav.Header** *- An optional Header Group with each item in the Group having the same value, or a single - on just one item to insert a divider with no text based header*
* **Nav.URL** *- URL the Nav Item will link to*
* **Nav.Active** *- True/False flag to auto-add the 'active' class to the item*
* **Nav.Class** *- Optional class(es) to use for this
Like the Location and Mode Parameters for other Html commands, if these Parameters are specified but left blank they will be populated with "Runtime" and "Append" respectfully.
The Title parameter is the text that will be used as the dropdown link or button beside the carrot.
The Element parameter is typically either "a" or "button". This value will be used as the opening and closing HTML tag that is used to trigger the dropdown.
The Class parameter does not have any built in & values, and defaults to setting the class for the