List Saved to Hashtag Variable

This page uses a Hashtag List with a Save directive.   In this example, the List content is reused as Select Options in an HTML Form.  
Processing this Hashtag Markup:
<# start list for items;
	save to item.options;
#>
<# start row #>
<option value="<# id #>"><# name as html #></option>
<# end row #>
<# end list #>

<form>
	Choose an item: 
	<select name="item1" required>
		<option value=""></option>
		<#[item.options]#>
	</select><br>
	<br>
	Choose another item: 
	<select name="item2" required>
		<option value=""></option>
		<#[item.options]#>
	</select>
</form>

Choose an item:

Choose another item:


The Hashtag Markup Language provides List Templates to process a series of Records.  

The examples in this section cover the various List Directives, and demonstrate the capabilities of Hashtag Markup in List Templates.