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
mohimohi 

regarding custom object:plz specyfy

dear i made a custom object candidaeinformation with feild; firstname , last name ,password ,phone ,email Error: token error this is for login:controller public class Registration { private string FirstName{get;set}; private string password{get;set}; public String getFirstName() { return this.firstName; } public String getpassword() { return this.password; } public void setFirstName(String FirstName) { this.FirstName = FirstName; } public void setpassword(String FirstName) { this.Password = Password; } list mylogin=[select firstname, password from candidateinformation]; public PageReference save () { for(candidateinformation c: mylogin) { if(c.firstname==firstname && c.password==password) { page.success; } } return null; } } visualforcepage:unknown property firstname >
visulaforcevisulaforce

use firstName instead of firstname;

Shailesh DeshpandeShailesh Deshpande

wheever you refer a custom object and field, ist name should be appendedd with __c.

 

you are not doing that.

 

candidateinformation__c, firstname__c,password__c etc.