Have an idea?

Visit Sawtooth Software Feedback to share your ideas on how we can improve our products.

Offline Surveys: Text box shows previous respondents answers

Hello,

I habe a problem with the Offline Surveys App on an Android 5 tablet: The open text boxes show the answers of previous respondents as suggestions. I already turned off every auto fill etc setting in the Android settings but it keeps doing this. How can this be turned off?
asked Nov 13 by anonymous

1 Answer

+1 vote
Adding this script to an open-end question will prevent this behavior for just that question:

<script>
$(document).ready(function(){
    $('#[% QuestionName() %]').attr('autocomplete', 'off');
})
</script>


Alternatively, adding this script to your survey's HTML head tag will prevent this behavior throughout the survey:

<script>
$(document).ready(function(){
    $('input').attr('autocomplete', 'off');
})
</script>
answered Nov 13 by Zachary Platinum Sawtooth Software, Inc. (129,350 points)
...