Remove excess space in question text - help!

More
5 years 4 months ago #80397 by tpartner
tpartner replied the topic: Remove excess space in question text - help!
Eileen, can you activate a sample survey so I can see the source and relevant styles?

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
5 years 4 months ago - 5 years 4 months ago #80406 by eileenchew6
eileenchew6 replied the topic: Remove excess space in question text - help!
hi tony,

I have temporary activated the survey. this is the link of my half completed survey.


thanks!
Last Edit: 5 years 4 months ago by eileenchew6.

Please Log in to join the conversation.

More
5 years 4 months ago #80408 by tpartner
tpartner replied the topic: Remove excess space in question text - help!
It looks like you have spaces entered in the question help fields.

Check the source and remove the spaces.



Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:

Please Log in to join the conversation.

More
5 years 4 months ago #80409 by tpartner
tpartner replied the topic: Remove excess space in question text - help!
Hmm...it looks like you will still have a little white-space due to the padding in the question help cell.

Add the following to the end of template.js to hide that row completely if empty:
$(document).ready(function(){
 
	if($.trim($('.survey-question-help').text()) == ''){
		$('.survey-question-help').parent().hide();
	}
 
});

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: eileenchew6

Please Log in to join the conversation.

More
5 years 4 months ago #80410 by eileenchew6
eileenchew6 replied the topic: Remove excess space in question text - help!
Yup the problem is solved.

Thanks! (:

Please Log in to join the conversation.

More
5 years 4 months ago #80411 by eileenchew6
eileenchew6 replied the topic: Remove excess space in question text - help!
Just a note, the coding dont seem to work. But if i manually press "backspace" in each "help" section, it works fine.

Please Log in to join the conversation.

More
5 years 4 months ago #80462 by Mazi
Mazi replied the topic: Remove excess space in question text - help!

eileenchew6 wrote: Yup the problem is solved.

Thanks! (:

You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to give Limesurvey a future .
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)survey-consulting.com'"

Please Log in to join the conversation.

More
4 years 11 months ago - 4 years 11 months ago #86231 by cheyennemtnman
cheyennemtnman replied the topic: Remove excess space in question text - help!
Along the same lines of changing spacing... I too would like to bring questions closer together as well as creating columns for responses that run through the whole group from top to bottom. Responses would be horizontal with 7 columns (7 radio buttons). I would like the presentation of the series of questions to be: (Facimile)
 Group 1
              Label 1 Label 2 Label 3 Label 4 Label 5 Label 6 Label 7
Question 1:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 2:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 3:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 4:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 5:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 6:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
 
 Group 2
              Label 1 Label 2 Label 3 Label 4 Label 5 Label 6 Label 7
Question 1:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 2:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 3:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 4:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 5:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 6:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
 
 Group 3
              Label 1 Label 2 Label 3 Label 4 Label 5 Label 6 Label 7
Question 1:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 2:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 3:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 4:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 5:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 6:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
 
 Group 4
              Label 1 Label 2 Label 3 Label 4 Label 5 Label 6 Label 7
Question 1:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 2:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 3:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 4:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 5:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |
Question 6:    |   o   |   o   |   o   |   o   |   o   |   o   |   o   |

How would I accomplish this in a limesurvey template. Any example available? Would like to have background with each column. Would like to have variable spacing between columns at times... Any of this Possible?
Last Edit: 4 years 11 months ago by cheyennemtnman.

Please Log in to join the conversation.

More
4 years 11 months ago #86374 by tpartner
tpartner replied the topic: Remove excess space in question text - help!
You can use array questions for this layout. The spacing, borders and backgrounds can all be accomplished with CSS.

Try using something like Firebug for Firefox to explore the page elements and styles.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now