Auto-Populate Form Fields

Edit in →

The auto-fill functionality allows you to auto-populate form fields of your surveys with previously entered data. This functionality is useful when part of survey information is already known. For example, Name and Email form fields can be filled automatically based on user login information. Read more...

Settings Themes

Enter a value into a text box below, and this value will be copied into a corresponding survey question.

Color palette
Question appearance
Sorry, we can't retrieve the data from server. Please comeback later.

The auto-fill functionality allows you to auto-populate form fields of your surveys with previously entered data. This functionality is useful when part of survey information is already known. For example, Name and Email form fields can be filled automatically based on user login information.

To pre-populate form fields, use the data property of a Survey instance. This property contains survey result data as an object in which keys are question names and values are answers. To manage the survey result data, assign a new object to the data property. You can define this object locally or load it from a web service. In this demo, the data object is used to pre-fill information in read-only form fields.

Note that a new data object replaces the old object and erases entered data if there was any. If you want to merge the new and old objects, call the mergeData(newDataObj) method.

If you want to pass values into individual form fields, call the setValue(questionName, newValue) method. Open the Settings panel and enter a value into one of the text boxes there. You will see this value copied into the corresponding question. This happens because the text boxes call the setValue method to auto-populate survey questions dynamically. A Survey instance also has the getValue(questionName) method that allows you to access individual form field values at runtime. Note that if you need to set more than one form field, replace the data object or call the mergeData(newDataObj) method to ensure optimal performance.

Your cookie settings

We use cookies on our site to make your browsing experience more convenient and personal. In some cases, they are essential to making the site work properly. By clicking "Accept All", you consent to the use of all cookies in accordance with our Terms of Use & Privacy Statement. However, you may visit "Cookie settings" to provide a controlled consent.

Your renewal subscription expires soon.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.

Your renewal subscription has expired.

Since the license is perpetual, you will still have permanent access to the product versions released within the first 12 month of the original purchase date.

If you wish to continue receiving technical support from our Help Desk specialists and maintain access to the latest product updates, make sure to renew your subscription by clicking the "Renew" button below.