- Posts: 4
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
((G1Q00001 == "Y")) || ((G1Q00001 == "N"))
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript"> $(document).ready(function() { if ((G1Q00001 == "N")) { // Check if the respondent is not a professional $('input, select, textarea').prop('disabled', true); // Disable all input fields } }); </script>
Please Log in to join the conversation.
Please Log in to join the conversation.
<script type="text/javascript" charset="utf-8"> $(document).on('ready pjax:scriptcomplete',function(){ // Retrieve the answer code from the "professional" question var aC = '{G1Q00001}'; if (aC == "N") { $('input, select, textarea').prop('disabled', true); } }); </script>
Please Log in to join the conversation.