SurveyEngine | A java Based multiuser Survey Engine Application | Frontend Framework library
kandi X-RAY | SurveyEngine Summary
kandi X-RAY | SurveyEngine Summary
A java project for conducting and filling surveys. A user can create and conduct a survey which can be filled by other application users. Application actors - Users/Admin. Only one admin can be there while there can be multiple users. User and admin have to login first using there credentials. New user have to signup. After login, a user can either fill a live survey or create there own survey. For conducting surver, a coins system is used where a user will be charged in coins calculated from the length and properties of survey. Coins can only be earned via filling other live surveys. Filling a survey will reward you an amount. Conducting a survey will charge you amount. The amount of reward and charge will depend on the number of questions and other factors. One user can fill one survey only one time. In a new survey , four different type of questions can be created. 1.MCQs 2.Textboxes 3.Checklist 4.Answer type. After creation user can check the survey information like its status, answers, date, amount and survey results.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Edit login information
- Define the JFrame
- This method initializes the mainSurvey panel
- Display welcome message
- Initialize the JFrame
- Insert data into database
- Show a welcome message
- Create response table
- Entry point to survey
- Display the checkbox value
- Get a list of all states
- Get the survey number
- Check user account
- Returns the user name associated with the specified email
- Checks if a survey is filled
- Display the checktype
- Create a survey table
- This method is used to help out the application
- Gets the question response
- Create a new question
- Insert a user response
- Insert data into the database
- Gets the survey names
- Add data to a table
- Add table data
- Get the complete survey
SurveyEngine Key Features
SurveyEngine Examples and Code Snippets
Community Discussions
Trending Discussions on SurveyEngine
QUESTION
I've implemented a task in Qualtrics that randomly selects a number between 0 and 3, and then selects a corresponding word pool to sample 5 words from. To be able to analyze these data, though, I need to know which 5 words (or at minimum, the index number or name of the word pool being sampled from) is presented to each respondent. Is there a way to implement the recording of this information within JavaScript? Ideally this information would show up when I use Qualtrics' native "export" options, but if I have to somehow create a second spreadsheet with this treatment data, that works just fine as well.
...ANSWER
Answered 2021-Dec-02 at 20:56Yes, you need to define the embedded data field randomwords in the survey flow.
QUESTION
I have a Qualtrics survey where I am showing people a gamble and asking them to decide to play it or not. Prior to that, I want them to virtually play out the gamble like 20 times and see the result of each. It seemed like the easiest way to do this would be to add a button to the question text which, when pressed, randomly appends a new result of the gamble -- either win or lose. E.g. if I am having them play out a gamble with a 90% chance of winning, 90% of the time they press the button they should see a new "WIN" appended to the page, and 10% of the time they should see "LOSE" appended to the page.
However, I'm struggling to get this all working within qualtrics. Individually I have a sense of what I need to be doing, I think -- it seems like if I make a div in the question HTML itself, and then make a button which will use the .append function in JQuery to add either a win or lose message (i.e. .append(
WIN!
)
or something like that), it should give me my basic functionality. But I'm totally lost when it comes to actually implementing this, and figuring out what should go into the html of the question itself vs. the JavaScript section of Qualtrics.
I'd also ideally like to require them to do this 20 times, but how to track that is a bit beyond me. Any help (or advice on better ways to do this) would be very appreciated. I'd really like to avoid having to use the survey flow in Qualtrics, since that seems super messy for this many trials, but if there is a good way to do it like that I'd appreciate suggestions there as well.
Edit: I have an implementation of this which isn't really what I wanted, but gets a similar effect without using JQuery at all.
This is not the JQuery or button-based way to solve this -- I couldn't figure that out. Instead, I created a loop and merge block which consisted of two text displays with a page break between. The first text display would tell them to press the button to simulate a gamble. Javascript on this page would simulate the results of the gamble based on embedded data, and then update another embedded data field for the display of the gamble's outcome, which would be shown on the following block.
The Javascript on the initial text question looked like this, where q1start is an embedded data field which sets the probability of winning the gamble:
...ANSWER
Answered 2021-Oct-13 at 19:54Pretty straightforward in the end, finally figured this out.
Make a block with a single question with this as the HTML:
QUESTION
I am working on a survey in Qualtrics. In this survey, I direct respondents to a link at the end of the survey.
I want to record whether or not respondents click on the link. If they click on the link, then I would like for the survey to automatically click the next button (thereby finishing the survey).
I've tried the code in the following post on Stack Overflow and the follow-up post on Qualtrics forum, without much luck.
Currently, I've created an embedded field called ClickLink
which is placed at the beginning of the survey and is set to zero
The HTML of the Qualtrics questions is:
...ANSWER
Answered 2021-Jul-13 at 12:51You jQuery 'Link' selector is incorrect. It should have a # in front of the id:
QUESTION
I have a matrix with two columns. I want to get the inputs of both columns on page submit. I have been using getChoiceValue
, and I have no problem getting the value of the right column. How can I get the value of the left column?
ANSWER
Answered 2021-Apr-27 at 18:31I don't know anything about 'Qualtrics' or any functions it contains, but if you are looking for a plain vanilla JS solution, this might help.
QUESTION
I am using a survey tool called Qualtrics and I was wondering if we can push the back button on the top left instead of bottom left, while the next button remains at the bottom
I found a code that clones the buttons. But I would only like to push the actual back button on top using JS
...ANSWER
Answered 2021-Mar-26 at 06:15You can use the jQuery prepend() method:
The jQuery
prepend()
method inserts content AT THE BEGINNING of the selected HTML elements.
QUESTION
I am using Qualtrics to collect data on an experiment related to behavioral economics.
I need to provide respondents with a budget and then update the budget throughout the survey as they spend it.
I have coded up a toy example to try to get the javascript right here. I am having trouble updating the budget after they spend it in a question.
Here are the questions and the underlying javascript. Can anyone identify where I am going wrong?
Step 0: I set the embedded data field "Budget" to $100 at the beginning of the survey.
Step 1: I display the first page.
*Q1: Your budget is ${e://Field/Budget} This displays correctly.
*Q2: How much to spend? (Open text field, validated as a number.)
Javascript:
...ANSWER
Answered 2021-Feb-25 at 21:47A couple of things:
- Pipes are resolved before the page is sent to the browser. So, you can't pipe a value from the current page.
- Your budget has to be a number. Adding a '$' in front makes it a string.
Updated code (assumes budget is a number and the text input is a number):
QUESTION
I wrote a JS code for progress by press "Enter" (in Qualtrics):
...ANSWER
Answered 2020-Oct-25 at 00:16Do the following. The keydown event will only apply to the current survey page.
QUESTION
The link provided here answers how Qualtrics records if an external link is clicked or not. Tracking when an external link is clicked in Qualtrics with javascript
But can I know when or the exact time that the link is clicked? What is the Javascript I can use? Thanks!
Update 1:
...ANSWER
Answered 2020-Jun-17 at 18:54Try using this piece of code here:
QUESTION
I found a JavaScript code to embed a calendar on a Qualtrics question.
...ANSWER
Answered 2020-Jun-16 at 12:32Where did you put the script? The link and script tags should go in the survey header. Then the addOnload and addOnReady functions in the question's JavaScript (not inside script tags in the question text).
Yes, in that date format month is indexed from 0. You could use a date string the with actual dates like "2020-05-22".
Personally, I like to use flatpickr as a date picker with Qualtrics.
QUESTION
I want to build an if statement in which the if criteria is based on an equality test of whether a variable equals any of several values. However, I do not want to hardcode the test values, but to pass an array of values that had been randomly subset earlier.
First, I get the set of randomized values by subsetting/sampling 5 values out of an array of 15 values. Basically, I'm using this excellent solution.
...ANSWER
Answered 2020-May-24 at 11:51I've never worked with Qualtrics before, but to me it is clear that the line
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install SurveyEngine
You can use SurveyEngine like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the SurveyEngine component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page