Skip Navigation
Expand
Making the product, category, and sub-fields required
Answer ID 590   |   Last Review Date 12/12/2018

How do I make the product, category, and sub-product or sub-category fields required when submitting an Ask a Question request or when saving an incident?

Environment:

Product/Category, Incident Inbound, Ask a Question form, Customer Portal Page Set November 2009 and later releases

Resolution:

On a new Oracle Service Cloud site, you can configure the Ask a Question page so that the product, sub-product, category, and sub-category fields are all required when submitting an Ask a Question request or when saving an incident from the administration pages.

Note: You can have up to 6 levels of products or categories. The default configuration does not require products and categories.

In CP, in the ask.php file, the ProductCategoryInput widget is included for both products and categories. Within the widget, the required_lvl attribute indicates the number of levels the user must select before the value can be submitted. The default ask.php file is configured to not require products or categories.

  • <rn:widget path="standard/input/ProductCategoryInput" data_type="products" required_lvl="2" />
     
  • <rn:widget path="standard/input/ProductCategoryInput" data_type="categories" label_input="Category" required_lvl="2" />

For additional information, refer to the 'Setting the required levels of products and categories' section in online documentation for the version your site is currently running.  To access Oracle Service Cloud manuals and documentation online, refer to the Documentation for Oracle Service Cloud Products.

Available Languages for this Answer:

Notify Me
The page will refresh upon submission. Any pending input will be lost.