function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
cloud lendingcloud lending 

Based on login field value from visualforce page checking the records whether that data is existing in salesforce

My requirement is:

in my login page i have 4 fields.
in one field if i enter phone number then clicking on submit button that phone number is matched to any contact or account phone number then i need to display those records.can any one give some pseudo code for apex class. thanks in advance