Welcome, Guest
Username: Password: Remember me

TOPIC: hide row array of question types according attribute

hide row array of question types according attribute 1 year 1 month ago #96720

  • mattias
  • mattias's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 77
  • 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 1 year 1 month ago #96752

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4058
  • Thank you received: 742
  • Karma: 341
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.

LimeSurvey is open-source and run entirely by volunteers so please consider donating to support the project.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.108 seconds
Donation Image