• anju vijayan 5
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies
I am trying to override new button in salesforce1 using vf page. I am using describelayout call to fetch details of fields, sections and their positions.I need sf1 look and feel for every fields in my page. For example for date field I need to display same date picker SF1 uses. 

Salesforce style guide (http://sfdc-styleguide.herokuapp.com/) gives HTML and CSS, but none of the JavaScript code to turn this into an active component. I tried with apex:inputField in my Visualforce page, but the end result looked like the date picker that appears in browser pages, not like the SF1 one. Does Salesforce provide components that facilitate VF development in the SF1 environment, including components that provide the same look and feel that appear on standard SF1 pages, like date pickers, lookup controls, picklists etc. 
Or does Salesforce expect us to develop our own?
I'm still trying to develop a Visualforce page that will look like it fits into the rest of the standard Salesforce1 app. (See https://developer.salesforce.com/forums/ForumsMain?id=906F0000000AZRyIAO for my last question on the subject.)

I'd like to display an input box for a date value that displays a date picker that looks like the native Salesforce1 date picker.

I've scanned the Mobile Design Templates, but don't see any examples of how to create a form field that has a date picker that looks like the native Salesforce1 date picker.

I'd really like to develop a VF page that looks like it belongs in the Salesforce1 app, using Salesforce1 styling. Is anyone else having the same problems I am in trying to accomplish this?