dm_html_select Function

public function dm_html_select(select, id, name, selected, disabled) result(html)

Returns HTML select element with option values. This function does not encode or trim the arguments.

Arguments

Type IntentOptional Attributes Name
type(select_type), intent(inout) :: select

HTML select type.

character(len=*), intent(in) :: id

Select id.

character(len=*), intent(in) :: name

Select name.

character(len=*), intent(in) :: selected

Element selected by default.

logical, intent(in), optional :: disabled

Disable element.

Return Value character(len=:), allocatable

Generated HTML.