Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Date field on custom edit form & XSLT

  Asked By: Shikha    Date: Jul 05    Category: Sharepoint    Views: 1641

Can someone share the XSLT needed in a custom edit form based on DVWP
to convert a date field into a string prior to display? Without
this "stringification" we cannot set this field to "display", it must
remain "edit".

Share: 

 

1 Answer Found

 
Answer #1    Answered By: Narasimha Kamane     Answered On: Jul 05

Not quite sure if that's what you are trying to accomplish, but typically
string(YourFieldGoesHere) converts to a string  e.g.
ddwrt:FormatDateTime(string(duedate) ,1031 ,'yyyy-MM-dd ').
If you can provide an example of the field  and control in question that would be
useful.

 
Didn't find what you were looking for? Find more on Date field on custom edit form & XSLT Or get search suggestion and latest updates.




Tagged: