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

validation of record using vf,apex,and custome object and return the record.
hai,
i have two fields on vf page like username and password. when i enter the correct username and password it has to pull up the the total information from custome object, related to that user . otherwise its throws an error like invalid useename and password.
Hi
Create two text fields on VF page
Once you enter data, Pass the information to controller and write query to get information of custom object
if it matches , display custom object information,
if not matches use apex:pageMessage to display error messages
Note: if you don't have knowledge in VF pages , Look below site
http://www.salesforce.com/us/developer/docs/pages/index_Left.htm
You can use my reply to one of your question. Link is http://boards.developerforce.com/t5/Visualforce-Development/how-do-i-retrieve-the-list-of-records-from-custom-obj-to-vf-page/td-p/550105
You need to change the object and name. You can use that procedure to fulfull you requirement here.
If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.