Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

In Add to cart section's Edit product, Reason field is not required although showing required (*) #191

Open
arafatomer66 opened this issue Oct 4, 2024 · 1 comment

Comments

@arafatomer66
Copy link

arafatomer66 commented Oct 4, 2024

image

in the "Add to Cart" section, the session user can submit a request without filling out the "Reason" field for the products. The "Reason" field is marked with an asterisk (*), indicating it is required and should be enforced as mandatory while submitting, similar to the behavior in the V8 portal.

Is this the default behavior in V9? If yes, what configurations are needed to make the "Reason" field required?

@NielsDeGroot
Copy link

In my OOTB setup the Reason field of the ShoppingCartItem is not set to mandatory.
Did you maybe customize the value MinLen (Min. Length) on OrderReason@ShoppingCartItem (default = 0) or something in the angular project?

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.
than perform iisreset or reclycle apppool.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants