Page 1 of 1

Required CrossSiteLookup not validated

Posted: 31 Aug 2018
by gaj
Hi,
I have a CrossSiteLookup -Field on my form with Required=True:
If I save the form without selecting data from this field there is no validation message and the Items is saved without the lu-data!

Do you know this problem?

A nother field on the same form (Title) which is also required works well (the validation)!

Re: Required CrossSiteLookup not validated

Posted: 31 Aug 2018
by AlexZver
Hi gaj,

Try this steps to prevent this behaviour:

1) Go to the List Settings, select the Lookup Column, check 'Required' - 'Yes'.
2) Open the Forms Designer, make sure the Lookup Field have a property 'Required' - 'True'.
3) Resave your Form.
4) Refresh a site page.

It should work.

If not, please send the screenshots with your Form and Lookup Field settings.

Re: Required CrossSiteLookup not validated

Posted: 31 Aug 2018
by gaj
Hi,
see Attachment,
I also created a complete new Sitecol, set required=true, converted it to CrossSiteLookup and placed it new to a form.
There is now validation?

Re: Required CrossSiteLookup not validated

Posted: 31 Aug 2018
by AlexZver
Must be correct, please try now, whether a problem still exists.

Re: Required CrossSiteLookup not validated

Posted: 31 Aug 2018
by gaj
Sorry there is no validation. I have to do valitation manually onsubmitt?

Re: Required CrossSiteLookup not validated

Posted: 31 Aug 2018
by AlexZver
Yes, if this steps didn't help, you should provide validation manually.