DateTime Fields
I was just wondering about that. I'm new to SharePoint and to SP Forms. If I store the value in a text column the draw back would be I'd have to convert the text back to a datetime variable to use it programatically in the future, right?
Something like talked about here:
http://forums.asp.net/t/1861281.aspx?Ho ... javascript
Not too bad, but probably has other drawbacks too...
Something like talked about here:
http://forums.asp.net/t/1861281.aspx?Ho ... javascript
Not too bad, but probably has other drawbacks too...
-
- Posts: 16
- Joined: Mon Nov 24, 2014
The date only gets set if i select a certain value in a dropdown box on same form. If I don't select the value the date should remain blank. With the sharepoint calendar field if I dont add a date it doesn't insert one. I need that functionality from the textbox control. There has to be an easy way of getting it to do the same without erroring.
Hopefully you or Dmitry can set me straight on this...
I'm wondering about using the text box solution Dmitry suggested above and start the textbox hidden field in a disabled state, then only enable it if action is taken and it will be populated?
Can a hidden field be disabled? Are disabled hidden fields passed and/or checked for format? It would be great to be able to work around this SharePoint control limitation. I plan to try this out a bit later.
I'm wondering about using the text box solution Dmitry suggested above and start the textbox hidden field in a disabled state, then only enable it if action is taken and it will be populated?
Can a hidden field be disabled? Are disabled hidden fields passed and/or checked for format? It would be great to be able to work around this SharePoint control limitation. I plan to try this out a bit later.
-
- Information
-
Who is online
Users browsing this forum: No registered users and 20 guests