Clear DateTime Field/Control - InfoPath Dev
in

InfoPath Dev

Clear DateTime Field/Control

Last post 11-26-2013 02:25 AM by dschnitzer. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 11-25-2013 02:14 AM

    Clear DateTime Field/Control

    Hi,

    i try to reset/clear a DateTime Field in Infopath via C#. I tried to set the field to string.empty I always get a validation error.

    Anyone knows a hint to resolve this?

    Best regards

    Daniel

  • 11-26-2013 02:25 AM In reply to

    Re: Clear DateTime Field/Control

    Hi everyone,

    I solved the problem thanks to the following blogpost: http://www.sharepointblogs.be/blogs/vandest/archive/2013/10/25/infopath-forms-services-and-the-xsinil-in-code-behind.aspx

    One more issue with attr.Value = BoolHelper.True; => described and solved here: http://gordonduthie.net/2012/10/01/assigning-boolean-value-to-infopath-data-source-element/ 

     

    Best regards

    Daniel

     

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.