Populate date from calendar view to custom form

Jay Holman 71 Reputation points
2022-05-04T15:45:40.107+00:00

I have a custom form for my SP list. I have created a modern calendar view on the list. When selecting +New on any given date, the custom form opens but does not populate the date selected. I noticed that the standard form does populate the date selected. Is there a parameter I can pass to the custom form so it defaults to the date selected?

Microsoft 365 and Office | SharePoint | Development
{count} votes

2 answers

Sort by: Most helpful
  1. Emily Du-MSFT 51,941 Reputation points Microsoft External Staff
    2022-05-06T10:02:41.167+00:00

    @Jay Holman

    Per my test, default view and calendar view use the same custom form. You could design form as following picture shows.

    199537-image.png

    Result:

    199602-image.png


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  2. Alan Mckenzie 11 Reputation points
    2025-07-10T13:28:43.8666667+00:00

    I'm having a slightly different problem ... Modern SharePoint, Calendar View ... but sometimes when I click on +New in, for example, the 18th July cell I get no date populated ... Same if I click on the Date in the cell (as someone in another forum advised).
    User's image

    Then when I try it again, it defaults to 25th July (today's the 10th) ... but now I can't get it to do that.

    Is there nothing I can put in the SharePoint List Item settings to default to the Date I've clicked on?

    User's image


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.