Skip to main content

IMPORTANT - Product End of Life Statement - IMPORTANT

Request RE, Survey, and Calendar 1.5 Support Ending December 31, 2020
Contact Kinetic Data Support with Questions
Kinetic Community

Long Default Text

The Default Answer field on the Defaults tab of the Question only allows for input of 255 characters (in versions before 5.1), but you may want to set a larger default for a text field.

Resolution

This can be done in a javascript in a custom action on page load.  The following can be added to the CustomHeaderContent field on the Advanced tab of the Service Item:

<script>

function setLongDefault() {
    var lotsOfText = "blah blah blah ...";
    KD.utils.Action.setQuestionValue("Name of Question", lotsOfText);
}

</script>

The following would be in a custom action on load:

setLongDefault();