Generate HTML code that your webmaster can insert into your company's website to capture cases in a Web form. Whenever someone submits information on any of those Web pages, a case will be created.
|Available in: Salesforce Classic and Lightning Experience|
|Available in: Professional, Enterprise, Performance, Unlimited, and Developer Editions|
|To set up Web-to-Case:||“Customize Application”|
You must have Web-to-Case enabled. For instructions on setting up Web-to-Case, see Set Up Web-to-Case.
From Setup, enter Web-to-Case HTML Generator in the Quick Find box, then select Web-to-Case HTML Generator.
Use the Add and Remove arrows to move fields between the Available Fields list and the Selected Fields list to select the fields to include on your Web-to-Case form. Use the Up and Down arrows to change the order of the fields on your form.
For organizations using multiple currencies, add the Case Currency field to the HTML if you add any other currency amount fields, otherwise all amounts will be captured in your corporate currency. For organizations using record types on cases, select the Case Record Type field if you want users submitting Web-generated cases to select specific record types.
If your organization uses the Self-Service portal or the Customer Portal and you want Web-generated cases to be visible to users in these portals, select Visible in Self-Service Portal.
Specify the complete URL to which customers should be directed after they submit their information. For example, the URL can be for a “thank you” page or your company's home page.
If your organization uses the Translation Workbench or has renamed tabs, select the language for the form labels displayed on your Web-to-Case form. The source of your Web-to-Case form is always in your personal language.
Copy the generated HTML code and provide it to your company’s webmaster so he or she can incorporate it into your website.
Use a custom multi-select picklist to allow customers to report cases on several products at a time.
If you want to test the Web-to-Case form, add the line <input type="hidden" name="debug" value="1"> to the code. This line redirects you to a debugging page when you submit the form. Don't forget to remove it before releasing the Web-to-Case page to your website.