Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have One form, in which there is 1 Dropdown list that contains List of Months From January to December of current year 2013.

Now if I select any particular Month then, all the Dates(Only for Sundays) should be added in another DropDown List. (Event should be done on Change of month, if another month I select, sundays/dates should be added respective to the month).

share|improve this question

1 Answer 1

Here is one way to do it. I have used this method in several forms and it sure has served me well.

  1. Create an xml file like the one shown below: (Please follow the same format to complete the rest of the months and their dates as well)

    <MonthToDateFilter>
    
      <MonthToDate Month="January">1/6/2013 </MonthToDate>
    
      <MonthToDate Month="January">1/13/2013 </MonthToDate>
    
      <MonthToDate Month="January">1/20/2013 </MonthToDate>
    
      <MonthToDate Month="January">1/27/2013 </MonthToDate>
    
      <MonthToDate Month="February">2/3/2013 </MonthToDate>
    
      <MonthToDate Month="February">10/3/2013 </MonthToDate>
    
      <MonthToDate Month="February">17/3/2013 </MonthToDate>
    
      <MonthToDate Month="February">24/3/2013 </MonthToDate>
    
      <MonthToDate Month="March">....  </MonthToDate>
      ......
    
      <MonthToDate Month="April">..... </MonthToDate>
      ......
    
    </MonthToDateFilter>
    

    I'll save myself a ton of time and let you follow this article It's got all the necessary steps from start to finish. You probably want to name your fields Month and Dates or anything really that you find appropriate.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.