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 Answer 1

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
    Commented Jul 19, 2018 at 11:03
  • Can you provide me the screenshot of the error which you are getting? Commented Jul 19, 2018 at 11:05
  • I am able to get it. But is it possible to get time like picklist in standard layout?\
    – Pavan tej
    Commented Jul 19, 2018 at 12:19
  • Yes, you can use a <apex:inputField value=""> and bind it with a custom time field. Commented Jul 20, 2018 at 8:03

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .