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 a month column which is a choice column in my document library in the format specified below.. For eg. Jan 2013 I have the following requirements 1. The month dropdown should always have only those months which start from 6 months previous of the current month.For eg.If the current month is March 2013 then only the months starting from oct 2012 to march 2013 should be populated in the dropdown 2.There is another column in my document library called 'date' of date format.It is not to be shown in the default view.The date field should automatically be set as the 1st date of the month selected from the month column.For example. IF the month selected is March 2013 .The date Should b 1/3/2013. Please Help!!Its urgent.. Any Help is welcome... Can This be done with the help of custom event reciever?? Step By Step Explanation with code Is needed As I am new to sharepoint.

share|improve this question
add comment

1 Answer 1

For 1) It don't make sense to do it using Event receiver. For 2) you can do it via custom event receiver

I recommend you should go for a visual web-part with all these validations. You can use this webpart to enter data in the list\library.

To create event receivers : http://msdn.microsoft.com/en-us/library/gg252010(v=office.14).aspx

To create webparts : http://msdn.microsoft.com/en-in/library/ff597539(v=office.14).aspx

share|improve this answer
add comment

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.