Castle.MonoRail.Framework.Helpers.FormHelper.CheckboxField C# (CSharp) Method

CheckboxField() public method

Generates a checkbox field. In fact it generates two as a way to send a value if the primary checkbox is not checked. This allow the process the be aware of the unchecked value and act accordingly.
public CheckboxField ( string target ) : string
target string The object to get the value from and to be based on to create the element name.
return string
		public string CheckboxField(string target)
		{
			return CheckboxField(target, null);
		}

Same methods

FormHelper::CheckboxField ( string target, IDictionary attributes ) : string