...
Warning |
---|
The XML document must also use UTF-8 format encoding. |
Time, Date/Time Controls
A form with a time or date/time control will convert and save the local time in UTC format Notice in the submissons XML document . The example below that the time is proceeded by a capital "T" (Time Zone) and followed by a "Z" (UTC timezone) in the submission data for a date/time control, as shown n the XML document example below. Using an XML document to initialize a form with time or date/time controls will work correctly whether or not the timezone is provided. Here is an example of XML code generated for that can be used to initialize a form with a date, time and date/time control in the submissions databasecontrols.
Code Block |
---|
<?xml version="1.0" encoding="UTF-8"?> <p0:default_format xmlns:p0="http://www.frevvo.com/schemas/_1gjfsLVcEeGncZR5RoaQbQ"> <date>2012-07-09</date> <time>14:00:00Z</time> <datetime1>2012-07-09T14:00:00Z</datetime1> <datetime2>2012-07-09T14:00:00Z</datetime2> </p0:default_format> |
The data will be converted to the timezone of the browser and displayed in the form accordingly if the timezone is provided in the XML document. Initialization data will not be converted and displayed as is on the form if the timezone is not provided.
Navigate to View/Edit Submissions for more information on the Submissions Database and the XML document.
...