Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > BizForm wont display custom error messages View modes: 
User avatar
Member
Member
john-wakefly - 9/11/2009 2:18:53 PM
   
BizForm wont display custom error messages
I have a BizForm that has error messages set for all of the fields, and they are set to not allow empty values. But when I try and submit an empty form, I get "Please enter some value" for all of the error messages.

The fields are just text, and email fields.

Any idea why this is happening?

User avatar
Kentico Support
Kentico Support
kentico_radekm - 9/24/2009 7:15:30 AM
   
RE:BizForm wont display custom error messages
Hello.

If the allow empty value property is set to false, it shows our default validator. Could you please try to set allow empty value together with some regular expression or min/max value, and fill own error message for this particular field? Thank you.

Best Regards,
Radek Macalik

User avatar
Member
Member
mark-wakefly - 12/8/2009 11:10:20 AM
   
RE:BizForm wont display custom error messages
It would be useful if kentico would allow you to enter your own error message without having to define your own regex. If allow empty value is set to false, then just verify that the field is not blank and if it is and an error message has been defined, display it.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 12/22/2009 6:18:09 AM
   
RE:BizForm wont display custom error messages
Hello.

Thank you for your suggestion. We will consider it for one of the future versions.

Best Regards,
Radek Macalik
Support Engineer