Preview text in textfield - by: tpartner
Assuming the question type is short-text, set up your survey to use JavaScript and place the following script in the source of the question: <script type="text/javascript" charset="utf-8">...
View ArticleValidate phone and email in Multiple short text - by: IngeborgNor
Got it! In Question validation equation: (is_empty(kontaktinfoDin_SQ004) or regexMatch('/^(\w[-._+\w]*\w@\w[-._\w]*\w\.\w{2,3})$/',kontaktinfoDin_SQ004)) and (is_empty(kontaktinfoDin_SQ005) or...
View ArticleComments mandatory for 'Multiple choice with comments' - by: tpartner
You can make comments and corresponding checkboxes mandatory via the Question validation equation. So, assuming question codes like SQ001, SQ002, SQ003 and SQ004, an equation like this (line-breaks...
View ArticleAPI: Invite participants to a survey - by: orenh
Hi, I am using the invite, and it works but instead of sending the invite to one token its sends it to all the tokens in the survey... I send to the api the session, the survey id and an array of tids,...
View ArticleComments mandatory for 'Multiple choice with comments' - by: Rzwiers
Thanks a lot for your answer. For some reason I can't get this to work. I entered the code as Question validation equation and changed Q1 to the name of the question. When I save and preview the...
View ArticleComments mandatory for 'Multiple choice with comments' - by: tpartner
If your adaptations are correct, you may be able to click the checkbox without commenting but you will not be allowed to submit the page. You can add a question validation tip to indicate that. Sample...
View ArticleValidate phone and email in Multiple short text - by: IngeborgNor
I've made an example, see attached group: File Attachment:File Name: kontaktinfo.lsgFile Size: 6 KB Question validation equation: (is_empty(kontaktinfo_epost) or...
View ArticleAPI: Invite participants to a survey - by: orenh
Well, I know the API should send to only the ids I tell him, but it actually sends to all the tokens. Here is the scenario: 1. I created a survey 2. Added 5 new tokens to the survey 3. Using the API I...
View ArticleIs it possible to alter the "Always hide this question" attribute via the...
I am thinking about exploring the LimeSurvey API. The API use case I have in mind is... to create a copy of a survey to then alter the the "Always hide this question" attribute of 2 or 3 questions on a...
View ArticlePanel Provider - Unique ID - by: PaulMRFGR
Hi there, I was wondering if anyone could help me. Essentially, we’re using a panel provider who will send respondents our way and they will complete the survey before being redirected back to the...
View ArticleInteractive Questions - by: MohamedElAlouani
Thanks everyone for the reponses. That plugin looks like it can do the trick. One question though, how do I install the plugin on example.limesurvey.com?
View ArticleInteractive Questions - by: holch
What is example.limesurvey.com? Are you using the hosted version of Limesurvey from the Limesurvey GmbH? Then you need to get in touch with them ("Contact us" on limesurvey.org). But I doubt that you...
View ArticlePanel Provider - Unique ID - by: holch
You can do this easily with the "panel integration" feature. The ID will not stay in the URL, but you can read the ID into Limesurvey, save it in a text question and at the end of the survey you...
View ArticleAPI: Invite participants to a survey - by: tpartner
This works for me and only sends to token ID 38 (not token value 38!). <?php require_once 'jsonRPCClient.php'; define( 'LS_BASEURL', 'http://pathTo/limeSurvey/'); define( 'LS_USER', 'admin' );...
View ArticleEditing multiple questions in one screen - by: tpartner
There is no "screen" for that. All I can suggest is exporting the survey and modifying the export file. manual.limesurvey.org/Exporting_a_survey_structure...
View ArticleTrue visual analogue scales in Limesurvey? - by: holch
Templates have changed significantly in 2.6x and old templates will most probably not work with the newer version. And many of Tpartners excellent workarounds will also not work, because the html/css...
View ArticleIs there "stars" question option anywhere? - by: brettd
I am looking at Advanced settings Use slider layout (slider_rating) on https://manual.limesurvey.org/Question_type_-_5_point_choicehttps://manual.limesurvey.org/Question_type_-_5_point_choice I cannot...
View ArticleIs there "stars" question option anywhere? - by: holch
Here a screenshot. When you choose this question type, then click on "Advanced settings" (not on the arrow, but on the text!), the advanced settings open and you should see what my first screenshot...
View Article