XForms Mobile Change Log

v1.5.17 (07-14-2022)

  • Bug fix for table footer calculations.  Previous versions would treat numeric fields in a table footer as text and concatenate values instead of SUM them up.  This has been resolved.

v1.5.16 (07-10-2022)

  • Bug fix for read-only text fields, which were editable in previous version.
  • Bug fix for date fields in tables if a date format was not set.  Now if you leave the date format blank, it assumes you mean US date format (mm/dd/yyyy) and doesn’t throw an error.

v1.5.15 (06-11-2022)

  • Bug fix when cloning a submitted form, the user_id of the source form was not cleared and replaced by the new user_id.  This has been fixed.  Kudos to Ruth Tull @ MAA for finding this bug.
  • Support for showTimeZone setting
  • Fix for calculate fields

v1.5.11 (05-03-2022)

Added support for Time Difference expressions:

Calculates difference between start time value and end time value and returns the number based on requested unit

  • timeDiff({start-time-field}, {end-time-field}, ‘unit’)
  • start-time-field: Date or Time field ID that contains start time
  • end-time-field: Date or Time field ID that contains end time
  • unit: one of the followings surrender by single quote
    • seconds
    • minutes
    • hours
    • days
    • months
    • years
  • Example: timeDiff({start_time}, {end_time}, ‘hours’)

v1.5.3 (03-07-2022)

Photos: Added an optional setting to the image control on a form template for saving images to the local phone gallery, with default of this new attribute set to “off” (will not save images to the phone’s local gallery by default).

v1.5.2 (03-05-2022)

Photos: Improved photo management by automatically downsizing photos to 1080 pixels height or width (depending on orientation).  Now a typical 2MB photo is reduced to 200K, resulting in a 1,000% more responsive application.  A “width” setting attribute was added to the Image control, so that the default setting of 1080 px can be changed to a different value.

v1.5.1 (03-02-2022)

Number fields: Bug fix to support negative numbers.

 

v1.5.0 (02-28-2022)

Photos: Enabled saving camera images to the local phone gallery.  So now when you take a picture, it adds it to your phone’s image gallery first, and then loads it into XForms with smaller resolution.

Offline Mode: An offline on/off switch has been added to the menu bar (see gif below).  So now you don’t have to flip your phone to airplane mode, you can just flip the app to offline mode.

Number Fields:

  • Added min and max attributes to numbers to control the range. So now you can limit the numeric values that are allowed inside a field.  For example, a pH field could be set up with a Min value of 1 and a Max value of 14.
  • Enhanced number fields to only accept numbers.  This was mostly a problem with iOS, where you could type in a % symbol for example.  That has been fixed.
  • Added “decimals” attribute to numbers to control the number of decimal points (a decimals value of 0 would be treated as an integer)

Date Fields:

  • Added minDate and maxDate to date field to control the range in the date picker.  This new feature supports exact dates.  So you could, for example, have a Min Date of 1/1/2022 and a Max date of 1/10/2022 for a date picker that only can take a value between 10 different days.

Template Refresh: Added refresh templates option to the popup list of templates (top right of popup).  When tapped, this will auto-refresh the templates in cache by pulling new versions from the server.