Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Browsing responses

Browsing responses 2 years 5 months ago #74332

  • tave
  • tave's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Is there a way to filter out some fields from the "display responses table"
I only need a few fields to quickly see the most important questions.
For example i would need to get rid of the "completed Y/N" field and the "start language" field since they are only taking up space from the table leaving less room for actual answers and are no way needed when looking through the answers. Also i would need the "Submitted date" field to show up when browsing responses. I know it can be seen from "View response details" but would be important to see submit date quickly while browsing through the answers.

Is there any easy way of choosing which fields(questions) are shown in the "Display responses" table. Any help would be appriciated.
Last Edit: 2 years 5 months ago by tave.
The administrator has disabled public write access.

Aw: Browsing responses 2 years 5 months ago #74347

  • Steve
  • Steve's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
Hello,

I don't think there is an option for customizing the "display responses" table view. If you want to change the look and feel you might have to dig into the source code of LimeSurvey and change it there or submit an idea at ideas.limesurvey.org/ is no similar idea exists.
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
The administrator has disabled public write access.

Re: Aw: Browsing responses 2 years 5 months ago #74378

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
I'm no CSS guru but it might be possible to hide the first X columns of the browse repsonse overview by adding some CSS to the adminstyle.css file.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Aw: Browsing responses 2 years 5 months ago #74402

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4050
  • Thank you received: 740
  • Karma: 341
I don't think you can do it just using only CSS but you could add a function to admin_core.js to hide certain columns. You could use the value of the "sid" hidden input to hide the coulmns for specific surveys.
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.

Re: Browsing responses 2 years 5 months ago #74408

  • tave
  • tave's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Does someone have any idea how that is done? I sure don't :(

Thank you all for your answers so far.
The administrator has disabled public write access.

Re: Aw: Browsing responses 2 years 5 months ago #74412

  • tpartner
  • tpartner's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 4050
  • Thank you received: 740
  • Karma: 341
Add the following to the end of admin_core.js.

Replace "SS" with your survey ID and add or remove columns as nessessary.

This example will hide columns 3 and 5 which (in my survey) are "Completed" and "Start language".
$(document).ready(function(){
 
	// Survey ID
	var sID = SS;
	// Comma separated list of columns to be hidden
	var hiddenColumns = [3,5];
 
	if($('input[name="sid"]').attr('value') == sID) {
 
		// Add some column-specific classes
		$('.browsetable tr').each(function(i, el){
			$('> *', this).each(function(i, el){ 
				$(el).addClass('col-'+(i+1));
			});
		});
 
		// Loop through the hiddenColumns and hide them
		$(hiddenColumns).each(function(i){ 
			$('.col-'+this+'').hide();
		});
	}
 
});
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.
The following user(s) said Thank You: tave

Re: Aw: Browsing responses 2 years 5 months ago #74440

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
Don't forget to buy Tony a beer :-)

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Browsing responses 2 years 5 months ago #74447

  • tave
  • tave's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
Thank you very much i will try that first thing when i get time=)
The administrator has disabled public write access.

Re: Browsing responses 2 years 5 months ago #74448

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5300
  • Thank you received: 291
  • Karma: 247
tave wrote:
Thank you very much i will try that first thing when i get time=)
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Browsing responses 2 years 5 months ago #74453

  • tave
  • tave's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 7
  • Karma: 0
I just might :P

I was also wondering if i can use something similiar to show submit date.
It does show up in details but would be usefull to show up in the browse view also.

ps. that code worked exactly as needed:)
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: ITEd
Time to create page: 0.167 seconds
Donation Image