Portal Engine Questions on portal engine and web parts.
Version 7.x > Portal Engine > BizForm - wrong validation's comunicate. View modes: 
User avatar
Member
Member
elfz-wp - 3/29/2013 5:15:10 PM
   
BizForm - wrong validation's comunicate.
Hi,

Anyone can tell me when can i change "wrong validation" messages in BizForm?
I was searching and i didn't find it.

Regards,
Robert

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 3/29/2013 11:07:25 PM
   
RE:BizForm - wrong validation's comunicate.
Hi Robert,

Could you please be just more specific what exactly do you mean by "wrong validation"? Maybe provide me with some example message.

Best regards,
Martin Danko

User avatar
Member
Member
elfz-wp - 4/1/2013 7:24:22 AM
   
RE:BizForm - wrong validation's comunicate.
Look at attached examples:

Please enter e-mail value in format 'mymail@domain.com'.

The entered values cannot be saved. Please see the fields below for details.

Please enter a value.

I hope you know what i mean now.

Regards,
Robert

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 4/1/2013 9:39:54 AM
   
RE:BizForm - wrong validation's comunicate.
In your Biz Form fields is where you can specify those messages. Depending on the data type and field type, there are different validation messages. You'll find them below where you specify the field type (textbox, dropdown, label, etc.)

User avatar
Member
Member
elfz-wp - 4/1/2013 12:58:38 PM
   
RE:BizForm - wrong validation's comunicate.
Hi,

You have right but where can i change main validation message?

"The entered values cannot be saved. Please see the fields below for details."

Regards,
Robert

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 4/2/2013 2:40:23 AM
   
RE:BizForm - wrong validation's comunicate.
Hello Robert,

You can change it in the Resource file: your_app\CMSResources\CMS.resx. Just search for the message you want to change. Then just change the value in appropriate resource string name e.g.: bizform.errorvalidationerror or emailinput.validationerror for the messages mentioned before.

Best regards,
Martin Danko

User avatar
Member
Member
elfz-wp - 4/2/2013 7:47:20 AM
   
RE:BizForm - wrong validation's comunicate.
It works now.

I changed it and started apllication again.

Without restart didn't work.

Thanks,

Regards,
Robert

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 4/2/2013 7:54:43 AM
   
RE:BizForm - wrong validation's comunicate.
Hi Robert,

Yes.. it's necessary to restart application because resource files are cached. Anyway, I'm really glad that you have found this on your own. Great!

Best regards,
Martin Danko

User avatar
Member
Member
elfz-wp - 4/2/2013 8:10:41 AM
   
RE:BizForm - wrong validation's comunicate.
Hi Martin,

I have one more question.

Where can I set length of bizform's fields.

I have 3 text fields and one field with international numer.

International number field is longer than text fields.

It looks badly. I want to cut international numer field like text fields.

Regards,
Robert

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 4/3/2013 1:25:24 AM
   
RE:BizForm - wrong validation's comunicate.
Hi Robert,

I would recommend you to use the Web Developer tools e.g. in Firefox of Chrome to inspect the elements and find out which style is applied to a specific field(s), after that just change the width property of that element in the stylesheet file.

I hope this will at least guide you.

Best regards,
Martin Danko