Submit component

In this article

Coveo for Salesforce 4.2 (April 2020)

This component adds a button to submit the case.

Options

title

Specifies the text to display on the button. The default value is Submit.

<div data-title="Submit"></div>

redirectUrl

Specifies where to redirect the user once the case has been submitted.

By default, this option redirects to the newly created case page.

<div data-redirect-url='<MY_REDIRECTION_URL>'></div>

Where you replace <MY_REDIRECTION_URL> by the link for which users should be redirected.

Methods

submit

Submits the form.

$('#mySubmit').coveo('submit')

Usage

<div class="CoveoSubmit"></div>