Check whether the text value entered on the form is in another SharePoint list or not when submit button is clicked

  • 20 December 2016
  • 1 reply
  • 2 views

Badge +1

I have a form which has a single text field that the user enters. I need to validate the form that the value entered into this field exists in another SharePoint list when the form is submitted. If it doesn't exist, error message should appear which says "Please enter the valid ID". Please suggest me some options. 


1 reply

Userlevel 5
Badge +14

you can use lookup() runtime function within validation rule to get/check entry from the another list.

but I would suggest rather to use lookup control (or even lookup list field).

that way users will no be able to select anything else but a value already existing on the other list, and you need not to take care about validations.

Reply