Where does validation message text comes from in kentico forms

Zakhar Z asked on July 9, 2014 11:19

Hi there,

I have this string in my BizForm: return ValidationHelper.GetString(GetValue("ValidationErrorMessage"), "");

I can't find thought where it comes from, can anyone help with it?

Thanks

Recent Answers


Joshua Adams answered on July 9, 2014 12:22

It looks like its a property on the bizform itself. You may be able just to set it by bizform.ValidationErrorMessage = "test"; I would need to know more about where you are seeing this if that doesn't work. Is this a bizform webpart that you are using somewhere or a form?

0 votesVote for this answer Mark as a Correct answer

Zakhar Z answered on July 10, 2014 06:58

Hi Joshua, this line is from \CMSWebParts\BizForms\bizform.ascx.cs , the one which all Kentico forms inherit from as I understand. I don't have a webpart called bizform.

Cheers, Zakhar

1 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on July 10, 2014 08:15

Like Josh mentioned, this should be a value you can set in the webpart when you add it to a page template and configure it. You might check out the actual webpart configuration within the Webpart application first to see if its already set.

0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.