stempb
Apprentice

Fields are required but I don't know how

In inherited a sharepoint site from another developer is no longer around.   There are several fields on the form.

I checked the fields validation properties and CompareTo is set to "None".   The fields do not appear to have any validation  rules.    But the fields are still required and I don't know why.    The fields are not required in the SharePoint column settings.

What I did was to remove one of the fields and add it back to the form using List Columns and that seemed to have removed the requirement for that field.

But I would still like to know what is causing those other fields to be required.   Any ideas?

Reply
6 Replies
philipplucas
Scout

Re: Fields are required but I don't know how

Maybe some additional javascript implemented that sets your fields as required?

Reply
stempb
Apprentice

Re: Fields are required but I don't know how

There is no additional JavaScript

0 Kudos
Reply
philipplucas
Scout

Re: Fields are required but I don't know how

Assuming your fields are connected to the correct list columns, it sounds like a bug to me but I can't tell you the reason for that.

Just to be sure, there is no JS included either?!

How big is this form? Can you re-add all the controls with reasonable effort?

You could also try to export your form, reset your current list form to default and re-import your form.

Or you can try to change all fields in your list to required, save them, set them to be not required again and save them again.

Anyway, keep us informed please, especially if you find the reason for this problem.

Regards

Philipp

0 Kudos
Reply
emha
Collaborator

Re: Fields are required but I don't know how

could you explain what exactly you mean with 'fields are required'?

- do you see a red asterisk next to filed label?

- or doesn't your form validate on submit? if so, what is validation error message?

- or is there any other (visual?) indicator that you consider to mean field is required?

0 Kudos
Reply
stempb
Apprentice

Re: Fields are required but I don't know how

Oh boy I can't believe I missed this.  The field was in a Content Type the field was a Site Column.   It was at the Site Column that it was required.   Then again I rarely use site columns because  IMHO, they cause more confusion then the benefit you get from them.

Reply
philipplucas
Scout

Re: Fields are required but I don't know how

Great finding Bruce!

0 Kudos
Reply