Questions tagged [validation]

For questions related to Sitecore item and field validation rules within the Sitecore Client

Filter by
Sorted by
Tagged with
7
votes
2answers
611 views

How do i validate an image for byte-size in Content Editor?

I would like to Validate the Image Field say i shouldn't allow the image more than 1 MB. How do I do that in content editor?
2
votes
1answer
245 views

Markup button under proofing tab is not working in preview mode

I tried to markup my html using markup button in the proofing section in experience editor mode. It's working fine in Experience Editor mode but when the page is in Preview mode, on clicking the ...
1
vote
1answer
512 views

How to validate date in WFFM [closed]

Hi we need to validate date in web forms for marketers, should we make a custom field or override the script. Usually,i override the existing validation like date-picker field and etc and it works. ...
0
votes
1answer
2k views

The constructor to deserialize an object of type is not found

I'm trying to set a validation rule for max.length on a text field. The following code works. For the related item, if the text entered is more than 100 chars., it shows the sitecore validation ...
3
votes
2answers
4k views

How to implement character limit validation on Single-Line Text and Multi-Line Text fields?

I want to implement character limit on input by user on Single-Line text and Multi-Line Text fields. Please guide me.
1
vote
1answer
1k views

Remove 'Is valid XHtml' validation rule for Rich Text field

We have a Rich Text field where we are storing our email's html. When i try to save the item, i ended up with validation error like The field "EmailBody" contains (or lacks) some formatting ...
3
votes
2answers
798 views

Disable validation in WFFM forms, if required fields are in hidden mode

I have some fields hidden [required fields] in WFFM forms based on checkbox selection. My requirement is it should allow forms to submit while those fields hidden.If it should validate required field ...
5
votes
1answer
465 views

WFFM: Custom validator does not appear (Sitecore 8.1 Update 1)

I am implementing a custom validator for WFFM, to do so I followed the Sitecore documentation: https://doc.sitecore.net/web_forms_for_marketers/working_with_actions_and_validations/validations/...
2
votes
3answers
901 views

Validation Errors Not Showing Up in Experience Editor

Validation errors are not appearing in the experience editor for our shared QA environment. I have a content item that is identical in both environments (I packaged it up to make sure). On my local ...
10
votes
1answer
2k views

How do I enforce Alt tags on all images in Sitecore

Sitecore flags up empty Alt tags but it still lets users save them without setting the Alt tag. Is there an easy way to enforce that this is done for all new images? I know I could write a custom ...
6
votes
3answers
614 views

Validator bar not appearing for general link field

I am working with Sitecore 8.1 and I am having a strange issue. I have a General Link field called 'Login Link' on which I am trying set required field validation. I have selected 'Required' for all ...

1
2