SAP Knowledge Base Article - Public

2691158 - Survey with Mandatory Field Can Be Submitted without Data Filled in.

Symptom

You have one survey with category "Product", and there's madatory fields (questions) configured in it.

When the survey is assigned to a visit/ticket,  you find that the survey can be submitted directly even no data filled in it.

So you're wondering why survey can be submitted even if you threre's mandatory fields in it.

Environment

SAP Cloud for Customer

Reproducing the Issue

  1. Open Visit ABC in Firori client. (ABC represents the visit ID)
  2. Go to Surveys facet and edit the survey which got assigned.
  3. In the opened survey page, click on Submit without filling in any data.
  4. The survey can be submitted and status will become to Completed.

Cause

For a survey which Category is "Product", for a product in it, if NO questions are answered, the mandatory check will also be skipped assuming that user does not want to answer questions for that product. Even if ONE question is answered, mandatory check will work as expected and user is not be able to submit the survey.

It's possible that there are more than one product in a Survey, and the user wants to fill the survey only for few products. So for products where he does not want to fill even one answer, then he should be allowed to do that and even if a field is mandatory for the product, it will not be checked.

Due to this logic, system skipped mandatory checking for the survey if several products in it. And user can submit it. But if even one field is filled, the mandatory check will work. For the survey with only one product, the madatory check cannot be skipped.

Resolution

This is current system standard behavior.

Keywords

Survey, Mandatory field, Submit, Product , KBA , LOD-LE-SUR , Survey , Problem

Product

SAP Cloud for Customer add-ins all versions