Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all 17529 articles
Browse latest View live

Modify the HMTL generated for a question - by: LouisGac

$
0
0

yannickberger wrote: Thank both of you for your answers it sure did help me.

I managed to implement my personal question.

My goal was to make the radio-list question accessible for person with disabilities because it was not fully the case. Accessibility guidelines required the radio-input element to be sourrounded by a <fieldset> with an accurate aria-label wich is now done with my question theme.

I put my question theme in copy in case you want to have a look of what's have been done.

File Attachment:

File Name: radio_accessible.zip
File Size: 15 KB


I will continue to try to correct some accessible errors i've seen on different question type.

Again thank you both for your precious help, it has been really appreciated

Cheers,
Yannick


well, if you agree, we could even make it a core question theme.

Prevent Characters - by: waitz

$
0
0
Is there a way to prevent a user to enter a quotation mark in text fields?
And if so, what kind of error message would he get?

Prevent Characters - by: waitz

$
0
0
Thank you. I read the link for "self". I am not a programmer though, and I just don't understand how to use it...

What I did see though was a function that strips characters, although this only at the beginning or end of a string, so it is not relevant unless there is a similar one that strips a character (") from any part of a text field:
trim: Strip whitespace (or other characters) from the beginning and end of a string
string trim(string [, charlist])

But I am not sure if I am going in the right direction.

REST API - export_responses don't export token infos - by: stevelegare

$
0
0
Hi,
I have a script to import responses but the informations for the tokens are not in the export. I got only the token code.

I added 3 attributes (attribute_1, attribute_2, attribute_3)

Do I miss something?

I'm using LS 2.05

$myJSONRPCClient->export_responses ($sessionKey, SURVEY_ID,
"csv",
"fr",
"complete",
"full",
"long",
$idFirst,
$idLast
);

Prevent Characters - by: Joffm

$
0
0
Hi, waitz,
here is a different approach.

Use the function strpos.
Search for the character. If it is there -> false.

So enter in the question validation equation: !strpos(self,'"') (your search character, double quote, surrounded by single quotes)
Remember: This function returns false if the string is not found, otherwise the position.
So we look for the "false" result of the function.

In the tip you can enter something like:

{if(!strpos(self,'"'),"","No quotes allowed")}





Joffm

Prevent Characters - by: waitz

$
0
0
Thank you for describing so detailed, Joffm. I see from your screenshots that it is working, and I like the approach. I entered the same into mine, and it does not work...:

Am I doing anything fundamentally wrong?

Prevent Characters - by: waitz

$
0
0
I am not sure why it was inconsistent, because it worked also. We solved it by adding a script to a hidden question at the end of the survey, replacing quotation marks with nothing: str_replace('"', "",)

Thanks :-)

Modify the HMTL generated for a question - by: tpartner

$
0
0

Can someone provide me a sample question theme or some hints for the 5 pt array because i tried to implemnt my own question theme and it doesn't seem to work. I think maybe the structure of the folder must be diffrent with an array.

The path would be: /upload/themes/question/5-point-array-test/survey/questions/answer/arrays/5point...

Sample custom theme attached:

File Attachment:

File Name: 5-point-array-test.zip
File Size: 6 KB



Have further questions dependent on multiple choice answers - by: Zeebot9000

$
0
0
Hi

So I`d like to be able to do the following

Multiple choice Q (can select more than one):
A
B
C
D
E

If A was ticked then Q A1
If B was ticked then Q B1
If C ticked then Q. C1
...

Also if A and B ticked then Q`s A1 and B1 to follow.
if BCD ticked then Q`s B1, C1 and D1. etc

How would I go about this?

BW
Zee

Modify the HMTL generated for a question - by: DenisChenu

$
0
0
I see <show_as_question_type>true</show_as_question_type> : it work ? If yes : really cool :)

(even with simple dropdown (i hatereally dislike this big selector for question type))

Quota terminating survey - by: waitz

$
0
0
I have a closed survey for invited participants. Completing the survey depends on users answering Yes to a first Yes/No question. If they answer No, it leads to a quota message.

I don't want the survey to be terminated if they answer No, but that they can resume later, and I have set the quota action to: Allow user to modify his answer before terminate survey.

If a user closes the quota message window, and then clicks on the link in the email invitation, they get a confirmation message that the survey is completed, and then the survey is terminated.

I have enabled the option: Participant may save and resume later.

Is this a bug or something I am not doing correct?

Thanks

Restarting timer if survey taken on the same computer - by: mhm1704

$
0
0
Do you know if there is a plug in to reset timer with beforeSurveyPage;

Email notification - by: JobbeSmit

$
0
0
Hello, my company is currently using limeSurvey for the occasional survey. However we're now looking at expanding it's use. One thing we're looking for is a tool for webforms to go alongside registration for certain services.

We're considering using LimeSurvey for this as it's already used by us. Now we're aware it's not form software but it's flexible. However one thing we found lacking is the ability to set up some sort of notification system when new survey responses come in.

I'm fairly sure this isn't supported by LimeSurvey but I was curious are there any plugins available we might be able to use for this?

Modify the HMTL generated for a question - by: yannickberger

$
0
0
Ok I found out the folder wich contains all the question and how they are build (on the picture the array question class) :



So i managed to create a personnal theme of each array question type by copy/pasting the arrays folder in upload/....

But i couldn't manage to get a personnal theme for the simple array question



Wich folder do I need to copy to get a theme from the array question (see attachement array) ?

Really appreciated all your help so far

Cheers,
Yannick

Can we end the survey early based on user response to a question? - by: holch

$
0
0
I think you did not read here or in the other hundreds of posts about screening people out.

You don't use conditions, but zero quotas (quotas with the value of "0").

Yes, it is not the ideal approach, but it works. You do not have to set conditions for all subsequent questions, but you stop the survey by letting them run into a quota. They will be sent to a different end page.

Quota terminating survey - by: holch

$
0
0
Quotas will always end the survey and the link will be marked as used. So you might have to increase the "uses left" in the token table if you want them to be able to answer later, after they have run into a quota.

Or just don't use quotas and terminate the survey. Maybe just sent them to different text display question. But remember, if you have answer persistence, the respondent will go back to the last page they have been on before, which would be this text display question, which might be confusing.

Why not just give them the option to "save and resume later"?

Email notification - by: holch

Can we end the survey early based on user response to a question? - by: frisket

$
0
0
My error, thank you for pointing it out...I saw quotas mentioned but I failed to see what their relevance was.
This may just be a terminological thing in Limesurvey (like the administrator/user dichotomy).
Either way if that fixes the problem, that's great.
Is it documented in the manual under "How to end the survey early"?

Can we end the survey early based on user response to a question? - by: holch

$
0
0

Is it documented in the manual under "How to end the survey early"?

I don't know. You might have a look at it. If something in the manual is missing, feel free to add it. Limesurvey is an open source project, everyone can participate. And the manual is a wiki.

Checkbox default answer from tokens - by: waitz

$
0
0
PS: Can I move the equation into the question field of a normal text field question? And if so, do I need to wrap {NEWSLETTER_NEW01 = if(TOKEN:ATTRIBUTE_50 == '1', 'Y', '')}{NEWSLETTER_NEW02 = if(TOKEN:ATTRIBUTE_51 == '1', 'Y', '')} inside a script tag?
Viewing all 17529 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>