Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: hide row array of question types according attribute

hide row array of question types according attribute 3 years 6 months ago #96720

  • mattias01
  • mattias01's Avatar
  • Offline
  • Senior Lime
  • Posts: 79
  • Karma: 1
Use this function to hide a column array type question, but does not work, what will be the problem?
 
$(document).ready(function(){
	 if($('{TOKEN:ATTRIBUTTE_1}') =='NO_REAL') {  
        	$("#javatbd315934X295X2493P202").hide(); 
        	return false;  
    	} 
});

Regards.
The administrator has disabled public write access.

hide row array of question types according attribute 3 years 6 months ago #96752

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6573
  • Thank you received: 1477
  • Karma: 579
Try this:

$(document).ready(function(){
	 if('{TOKEN:ATTRIBUTTE_1}' =='NO_REAL') {  
        	$("#javatbd315934X295X2493P202").hide(); 
        	return false;  
    	} 
});
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.
Time to create page: 0.285 seconds
Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form