Link to home
Start Free TrialLog in
Avatar of Ada County
Ada CountyFlag for United States of America

asked on

How to modify the Date list form field within Sharepoint Designer 07

I need to modify the default value of the start time and end time of a list form date fields.  As anyone done this?  I also need to modify the minute field drop down to display minute increments instead of 5 minute increments.

Thanks
Abe
Avatar of raybies
raybies
Flag of Australia image

There is no ootb way to change the time values of the Date field.
You can use javascript to modify the drop down values.

Add a content editor wp to the bottom of the NewForm.aspx or download/edit/upload the page

 ... loop through the page > find the dropdowns > change the values.
Avatar of Ada County

ASKER

You wouldn't by chance have an example of this?
ASKER CERTIFIED SOLUTION
Avatar of raybies
raybies
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
So your only option is to create a Custom Field.
Avatar of adiga123
adiga123

create a feature and when a new entry is made, use object model to insert current DateTime of the  system.