Oct 20

Automatic Check Boxes Function (isChecked)

Pass either TRUE or FALSE to this function and it will return either ” checked” or “”. I use this within loops to automatically check HTML checkboxes from a data set.

function isChecked(input)
	if input then
		isChecked = " checked"
		isChecked = ""
	end if
end function

Permanent link to this article: https://www.wperry.net/code/ischecked/

Leave a Reply

Your email address will not be published.