- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Please Log in to join the conversation.
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" data-author="Tony Partner"> $(document).on('ready pjax:scriptcomplete',function(){ var defaultText = '0'; var $inputs = $('#question{QID} tr[id^="javatbd"] input:text'); $inputs.each(function(i) { if($.trim($(this).val()) == '') { $(this).val(defaultText); } }).on('keydown', function(e) { if($.trim($(this).val()) == defaultText) { $(this).val(''); } }).on('keyup change', function(e) { if($.trim($(this).val()) == '') { $(this).val(defaultText); } }); }); </script>
Please Log in to join the conversation.
I am using limesurvey Version 3.15.8+190130
Please Log in to join the conversation.
Please Log in to join the conversation.