Skip to main content

What’s New

Qrvey 8.7
Version 8.7 of the Qrvey platform is now available to customers! This version includes new features including area charts, the ability to pivot and export data, as well as numerous bug fixes and performance improvements.
Learn More
Qrvey 8.6
Version 8.6 of the Qrvey platform is now available to customers. This version includes several new feature enhancements and performance improvements.
Learn More
Required Update for 8.5.1
Attention 8.5.1 customers: for any 8.5.1 instance deployed prior to 08/05/2024, an update is required to ensure you are running the latest images.
Learn More
Qrvey 8.5
Version 8.5 (LTS) of the Qrvey platform is now available to customers. This version includes several new features and performance improvements.
Learn More
End-of-life Schedule
We've added a new article that lists the features and endpoints that have been scheduled for deprecation. All features and endpoints will be supported for (1) year after the release date of the LTS version that contains the alternative.
Learn More
Version: 8.5

Web Form Design Widget

When embedded in an application, the Web Form Design widget enables end users to create, preview, and modify web forms. The Qrvey platform provides three types of web forms: survey, form, and quiz.

Configuration Object Properties

The following table lists the properties associated with this widget.

PropertyValueRequired
api_keyString, Your organization’s unique API key required to access the Qrvey platform. Never expose your organization’s API key to external users. In Production environments, use a secure token (qv_token) to encrypt the API key.Yes, if the qv_token is not provided
qv_tokenString, A secure token encrypted via JWT to authenticate and authorize embedded widgets. Establishes a secure connection between the host application and the Qrvey system. For more information, see Embedding Widgets Using a Security Token.Yes, if the api_key is not provided
app_idString, ID of the Qrvey application containing the dashboard, report, automation, or web form.Yes
domainString, The base URL of your instance of the Qrvey platform.Yes
user_idString, ID of the Qrvey Composer user that owns the application that is being embedded. Optional: You can alternately specify the user ID in a Qrvey session cookie.Yes, if the user_id is not included in a session cookie
qrvey_idString, ID of the webform ID that will be edited in the widget.Yes
app_typeString, The type of webform the widget will instance. Options: "FORM" / "QUIZ" / "SURVEY".Yes
Style_optionObject {
"main_color": String (HEX Color),
"secondary_color": String (HEX Color),
"tab_bar": String (HEX Color),
"field_icon": String (HEX Color),
"error": String (HEX Color),
"notification": String (HEX Color),
"successful": String (HEX Color),
"warning": String (HEX Color)
}

to change widget colors
No

Sample

The following sample shows a simple form using the minimum configuration object required to embed the Web Form Design widget.

To use this code in your application, replace the values in brackets (“<>”) with your own values.

HTML Tag:

<qrvey-design-widgets settings="config"></qrvey-design-widgets>

Widget Launch Script:

<script src="https://<WIDGETS_URL>/widgets-launcher/app.js"></script>

JSON Configuration Object:

<qrvey-design-widgets settings="configWebForm"></qrvey-design-widgets><script>
var configWebForm = {
"api_key": "<API_KEY>",
"app_id": "<APP_ID>",
"domain": "https://<your_qrvey_domain>",
"user_id": "<USER_ID>",
"qrvey_id": "<QRVEY_ID>",
"app_type": "<APP_TYPE>"
}