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
RahulRahul 

Hello friends, I have created a Salesforce site and launched it. when I access the Visualforce page through URL, I can access User name field which is <apex:Inputtext> and cant access Date field which is <apex:inputfield> . Need help

NagendraNagendra (Salesforce Developers) 
Hi Sumit,

I have faced the similar problem many times and the issue is mostly caused by Field Level Security. To Check you have given appropriate FLS follow below steps:
  • Go to Setup->Develop->Sites->Click on the label of Site to which this page belongs.
  • Click on the button named 'Public Access Setting'.It will open the profile of the site guest user.
  • Navigate to Field level security section and click on the object to which this field belongs.
  • Make sure Read Access and Edit Access is given appropriately. You must have edit access for your case.
  • Save FLS and revisit site page to check if it works.
Note: If you have permission sets assigned to the Site Guest User, then make sure that you have given the edit permission for the date field (Request Date).

Please let us know if this helps.

Thanks,
Nagendra