0

I am working on a visualforce page with custom pop & other requirements. But I am not able to include the remainder time field.

Now I am able to include remainderset checkbox. But how to add the reminder time field in vf page.

For Reference:

enter image description here

1

On Salesforce UI, it is displayed in 2 fields which is Date and Time drop-down. You will have to use ReminderDateTime field to be bind in your VF page. Make sure IsReminderSet to true.

Something like this.

task.IsReminderSet = true;
task.ReminderDateTime = System.now()+1;
4
  • Sorry, I am new to vf. How to display those two fields in vf page like normal standard task layout.Because if I use the inputfield with ReminderDateTime I got an error like Unsupported attribute value in <apex:inputField> – Pavan tej Jul 19 '18 at 11:03
  • Can you provide me the screenshot of the error which you are getting? – Naval Sharma Jul 19 '18 at 11:05
  • I am able to get it. But is it possible to get time like picklist in standard layout?\ – Pavan tej Jul 19 '18 at 12:19
  • Yes, you can use a <apex:inputField value=""> and bind it with a custom time field. – Naval Sharma Jul 20 '18 at 8:03

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.