Skip to main content
Question

When failing to fill a mandatory field, I get an error instead of being prevented from submitting.


Forum|alt.badge.img

In the customer portal checkout page, I have made some of the fields mandatory. However, if I don’t fill them in, I get the below error message, instead of being prevented from submitting the order. And after the error, the sales order gets deleted. Is there a way around this to prevent the user from submitting the form without the cells being filled in. 

 

Forum|alt.badge.img
  • Jr Varsity I
  • April 7, 2025

I am not very familiar with this screen, but one option you could consider is override the method and adding some logic to check if these fields are filled before executing the rest of the logic of the original method.


Forum|alt.badge.img+8
  • Captain II
  • April 8, 2025

You can use a FieldVerifying event for field level verification.

 

How did you make the fields mandatory? [PXDefault]?


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings