You need to sign in to do that
Don't have an account?

how to check name in object from vosualforce page
Hi,
I am very new to salesforce
I have two inputtext on visualforce page and a search button
I have one custom object as Object1__c.
When I click on search button I want to check first name and last name in Object1__c. If it exists then it should display details.
If it is not exists, I want to display error message.
How can I do this?
Please help me
Thanks in Advance
I am very new to salesforce
I have two inputtext on visualforce page and a search button
I have one custom object as Object1__c.
When I click on search button I want to check first name and last name in Object1__c. If it exists then it should display details.
If it is not exists, I want to display error message.
How can I do this?
Please help me
Thanks in Advance
You can refer the code below and see if it works for you.
Visualforce Code :
Controller Code :