Knowledge Base
/ JavaScript Tricks
JavaScript Tricks
Alert Before Leaving A Survey Page Using JavaScript
You can add this script to a theme extension (usually in custom.js), to warn a user if they try t...
Change text label for List with Comment (comment box label)
This can be easily accomplished by adding a small snippet of code to your to your Question text.1...
Disable Day dropdown in a date question type
If you just want to show users the year and month dropdowns, you can add the following to your da...
How to add place holder text to an input field (short free text, etc)
If you want to add placeholder text to a short free text type question, like this:You can use the...
How to calculate age
If you need to calculate the current age of a participant after you collect the participant's bir...
How to change the Expired Survey message
If you want to change the text in the Expired Survey message, you'll need to use a custom templat...
How to change the location of the Print your Answers button on end page
Would you like to put the "Print your answers" button anywhere in the text of your End Message? I...
How to Create a Real time Word Count for text type questions
Note: If you want show a real time character count, View this Reference.If you need to limit the ...
How to disable text or numeric fields in an array
If you have an Array Text or Numeric type question, you can disable specific cells in the Array.T...
How to find and replace text in interface outputs
Sometimes you might want to override system generated text on a form.There are two ways to do thi...
How to reset Array Radio button options
You can add some JavaScript to your question text to insert a button that will allow users to res...
How to set a field to (condtionally) be disabled or readonly
Here's a trick to disable a question's input fields based on the evaluation of another question.I...
JavaScript to auto-submit survey on last question.txt
JavaScript to auto-submit survey on last question.txt
JavaScript.txt
JavaScript.txt
Move "Other" question to another position
By default, if you enable the Show "Other" option, the answer will appear last in your list of an...
Multiple Choice - sub-options
Sometimes it can be helpful to have a single multiple choice question, but with some sub-answers ...
Multiple Choice Select All option
Untitled Document When you have a long list of multiple choice options, it would be nice t...
Randomize some items in list, multiple-choice and array questions
Use the following script to fix some items to stay at the bottom of a randomized list of sub-ques...
Randomly insert different text into a survey question
If you want to randomly display a statement (text or sentence) into a question, you can do this b...
Using Input Masks
You can use the following JavaScript function to apply complex input masks for Short Text type qu...
Powered by LiveZilla Live Help