In Add to cart section's Edit product form, Reason field is not required in Angular Portal. Need this field as mandatory field



in the "Add to Cart" section, the session user can submit a request without filling out the "Reason" field for the products.

Is this the default behavior in V9? If yes, what configurations are needed to make the "Reason" field required and show error for mandatory field before submitting?

  • Try this for a better user experience:
    Create a new Request property (new definition)
    On the parameters tab click Add
    Parameter name = OrderReason
    Parametert type = User prompt
    Display name = Reason
    Mandatory parameter = Yes
    Save and set this "Request property" on the service item.

    iisreset or reclycle apppool to refresh the cache of the apiportal