Many of you may have had long list option questions also long statements making it difficult to show everything on a single screen, even if you try to break it into. Confirmit Programming Basics. Comments Comments are text added in your scripts that are ignored when the script is run, but may be used to. Find freelance Confirmit Tutorial professionals, consultants, freelancers & contractors and get your project done remotely online. Post projects for free and.
|Published (Last):||6 August 2009|
|PDF File Size:||19.6 Mb|
|ePub File Size:||17.23 Mb|
|Price:||Free* [*Free Regsitration Required]|
Confirmit-Tech: Confirmit Programming Basics
Keep the question texts clear and short, no long answers and just a few options Use only basic question types, single, multi, open ends. The example I picked is to let tutoroal respondent change the questionnaire language in real time you need to have the language and the corresponding texts added already in Confirmit and this can be extended to anything else you may think about.
Press OK to continue. Also when it gets to the 0 remaining, I’m adding the “errorquestion” class to the countdown span, that’s the default confirmit error CSS style class for the error messages, so the respondents will get one more hint to see when they have reached the limit Happy coding everyone!
Will also create some logic to check if the second question is answered before the form is submitted, so will need to create an error message like.
You have control so nobody else can change their behavior, they are already loaded, so ready to use, no worries to include folders with libraries of functions in a project. The span will be updated as you type, when the limit is reached, will truncate the text and re-set it back to the text area.
The downside of this is that the positioning on the screen of the second question is not always easy. If you planned to also target the mobile users here are some great tips you may want to follow: The script below works with one confirmig per page, but it can be easily customized to work with more In the open end instruction tab, place the following script: Do you often use the Confirmit default capabilities, or like to create everything from scratch, and have it fully customized?
Please select all that apply, but you must select at least 10 statements. As a solution I moved the script after the question, and everything worked well.
The reason I used the question id as the solution to jump between questions was because you can control exactly where and how. We know Confirmit has the option to trigger a second question or more based on a previous question answer, you may find this called dynamic questions. The script below works with one textarea per page, but it can be easily customized confirmitt work with more.
Notice the test if currentForm! Thanks for your understanding. To explain a bit what the script does, the limit here is set to characters, and you can change that. Every time you click the button you get this screen with the default settings. First tutirial sure you include the jQuery library in your skin header.
So the conclusion is if the elements are masked, their content will be wiped out after you advance to the next question. The second question will show up right under the option that triggers it, so its answers will nicely align under it.
I bet you have now lots of custom scripts, functions, validations etc. The set up tutoril be the same, 2 questions on the same page, the second will be triggered by titorial an option from the first question.
Page 1 Page 2 Page 3 Next page.
You have selected 0 statements. The next script node is setting the new language, and then redirects them where they left f ‘l’.
Many of you may have had long list option questions also long statements making it difficult to show everything on a single screen, even if you try to break it into 2 or 3 columns This fonfirmit allows the user to see the question instructions in a header that stays anchored at the top of the screen as the user scrolls down to see the other available statements The selection number is also updated as you select or deselect the options, in this particular case when working with a multiple answer question type.
To explain confirit bit what the script does, the limit here is set to characters, and you can change that, The span will be updated as you type, when the limit is tutorual, will truncate the text and re-set it back to the text area.
You can define complex logic and all the other functionality such as text piping, question masking etc. As you can notice, the onclick event calls this changeLanguage function, and its content is below:.
This solution allows the user to see the question instructions in a header that stays anchored at the top of the screen as the user scrolls down to see the other available statements. The usage is transparent for the user, just let them know the class and the available methods like custom.
A0026 Adding a Trigger and Applying a Question Mask in Confirmit
Next step is to add and call some of these function from inside the theme since we need to make them visible and allow the respondents interact with them somehow. Here are some pros: What worries me and maybe you is that everyone can alter them once they are dragged in a project, and not only…. Also when it gets to the 0 remaining, I’m adding the “errorquestion” class to the countdown span, that’s the default confirmit error CSS style confirmitt for the error messages, so the respondents will get one more hint to see when they have reached the limit.
Also the logic is only evaluated when the page is submitted when the respondent clicks the Next buttonand sometime is hard to follow when the logic is complex. You have already completed parts of the questionnaire.