I’m creating a JSON template programmatically, so the question_text value will vary depending on that text is in the database. If the text is too long, the Choice box text will simply write off the visible edge of the page.
Is there an attribute to set to automatically wrap the text? It seems like this should be the default behavior.
Additionally, there’s no way to handle page breaking if you have dynamic text where you won’t know the length. Please advise.
page.children.Add(new Child {
name = itemId.ToString(),
element_type = "ChoiceBox",
answers_string = "(Y) Yes (N) No",
question_text = itemText,
align = "Left"
});