How to set a XML field as a date type? - InfoPath Dev Sign in | Join | Help in Browser Forms InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » Browser Forms » How to set a XML field as a date type? Use our Google Custom Search for best site search results. How to set a XML field as a date type? Last post 07-07-2022 04:19 PM by Hilary Stoupa. 3 replies. Page 1 of 1 (4 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 07-05-2022 09:34 AM alo123 Joined on 05-31-2022 Posts 37 How to set a XML field as a date type? Screenshot 2022-07-05 093032.png Reply Contact This is a XML secondary data source and I want use the button to set it equal to now(). The button does its job but I want to know if I can somehow format the outcome? Filed under: XmlFormView, infopath2010, infopath 2013, infopath 2013 SharePoint 2010, infopath 2010 Browser enabled forms 07-07-2022 08:48 AM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,242 Re: How to set a XML field as a date type? Mark as Not AnswerMark as Answer... Reply Contact Looking at your latest sample form from another post, I think you resolved this by changing to a date picker. Hilary Stoupa 07-07-2022 03:45 PM In reply to alo123 Joined on 05-31-2022 Posts 37 Re: How to set a XML field as a date type? Screenshot 2022-07-07 154140.png Mark as Not AnswerMark as Answer... Reply Contact The thing is that it is still "registered" as a string data type. As you can see from the picture. 07-07-2022 04:19 PM In reply to Hilary Stoupa Joined on 06-20-2008 Posts 13,242 Re: How to set a XML field as a date type? Mark as Not AnswerMark as Answer... Reply Contact You would have to manually modify the schema file to change that. It would involve saving the form as source files and changing the XSD for the data connection. Is having the data type a string causing you issues? Hilary Stoupa Page 1 of 1 (4 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Use our Google Custom Search for best site search results.