I have used apex:input tag with the Type attribute set to Date in a VF page. Also, I have used docType="html-5.0" attribute in apex:page so that I don't get any error. But, still I am getting an error which states: Component in 'dlinfo' requires HTML docType version 5.0 or higher. Please can you guide me in this regard.

  • 1
    Soham can you share the code please – Mohith Shrivastava May 30 '15 at 16:50
  • Welcome to StackExchange salesforce – Mohith Shrivastava May 30 '15 at 16:51
  • 2
    try adding the doctype tag, <apex:page docType="html-5.0"> – coderdecoder Jun 10 '16 at 21:41

Take out the apex:input component, save, make sure your DOCTYPE is set in the page tag, save, and then add in your apex:input component again.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.