function readOnly(count){ }
Don't have an account?
Search for an answer or ask a question of the zone or Customer Support.
You need to sign in to do that
Sign in to start searching questions
Signup for a Developer Edition
Sign in to start a discussion
Hi,
I need to create a field Timeslot and it should have dropdown of hour(0-24), minute and am/pm.
Can anyone please tell me how to do this.
Thanks
This forumla worked for me:
TEXT( Hours__c ) + ':' + TEXT( Minutes__c ) + ' ' + TEXT( AM_PM__c )
Are Hours__c and Minutes__c picklists?
There isn't any native way to do this. You will need to consider a workaround. Some suggestions that I can think of:
Hope this helps!
Thanks for the reply.
Is it possible to create a group including 2 fields?
I created a formula(Text) field to populate the hrs and mins from the picklist value, but it is not displaying in time format.
Can u please help me with the formula.Below is the formula which i have written:
TEXT( Hours__c ) & TEXT( Minutes__c ) & TEXT( AM_PM__c )
I tries tried using Date/Time also, but it is displaying like #ERROR.
Thanks.
Yes Hours and Minutes are Picklists.
It works fine.
Thanks for the solution.
This forumla worked for me:
Are Hours__c and Minutes__c picklists?
All Answers
There isn't any native way to do this. You will need to consider a workaround. Some suggestions that I can think of:
Hope this helps!
Thanks for the reply.
Is it possible to create a group including 2 fields?
I created a formula(Text) field to populate the hrs and mins from the picklist value, but it is not displaying in time format.
Can u please help me with the formula.Below is the formula which i have written:
TEXT( Hours__c ) & TEXT( Minutes__c ) & TEXT( AM_PM__c )
I tries tried using Date/Time also, but it is displaying like #ERROR.
Thanks.
This forumla worked for me:
Are Hours__c and Minutes__c picklists?
Hi,
Yes Hours and Minutes are Picklists.
It works fine.
Thanks for the solution.