Skip to content

Instantly share code, notes, and snippets.

@thibblen
Created January 27, 2011 22:12
Show Gist options
  • Save thibblen/799396 to your computer and use it in GitHub Desktop.
Save thibblen/799396 to your computer and use it in GitHub Desktop.
form questions
public class FormQuestion
{
public decimal sort { get; set; }
public bool IsAmount { get; set; }
public bool IsLevelBreak { get; set; }
[JsonIgnore]
[DisplayName("Check to delete.")]
public bool Delete { get; set; }
[DisplayName("Hide")]
public bool Hide { get; set; }
[DisplayName("Required")]
public bool Required { get; set; }
[DisplayName("Helpful Information")]
public string HelpInfo { get; set; }
public string Question { get; set; }
[DisplayName("Maximum Characters")]
public int AnswerLimit { get; set; }
[DisplayName("Yes/No Only")]
public bool YesNo { get; set; }
[DisplayName("Selectable Answers")]
public string ResponseOptions { get; set; }
[DisplayName("Multiple Answers")]
public bool AllowMultiple { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment