Mi-Forms How To

Examples that show how to design or script forms to perform tasks

Create a Custom Validation
Here is an example of a custom validation for Windows devices. This code uses a Field named "Date" to validate a specially formatted date. ...
Tue, 14 Apr, 2015 at 10:12 PM
Pop a Special Keypad on iOS/Android Devices
The Mi-Forms Designer has a robust method to ensure only specific characters are typed into fields. This works great, but sometimes you may want to help the...
Mon, 15 Jun, 2015 at 2:39 PM
Fire Validations on a Page by Page Basis
By default, validations are run when the form is finished.  However, you can use scripting to run the relevant validations before allowing the user to advan...
Tue, 25 Aug, 2015 at 10:11 AM
How to Actively Control When Standard Datapaths Can Run
There are times when we would like to keep a Standard Datapath from running. A typical scenarios is when using a multi-step workflow process, where exports ...
Wed, 2 Sep, 2015 at 1:13 PM
Finding Index of Selected Picklist Value
It can sometimes be useful to access the index of a selected item in a picklist. This can be accomplished in .NET using  _Picklist.ValueIndex.  To get the ...
Fri, 6 Nov, 2015 at 10:39 AM
Delete the last ink stroke from a field
How do I delete or erase the last ink stroke entered onto a Freeform or ImageAnnotation field? The attached example form demonstrates the ability to s...
Mon, 28 Sep, 2015 at 10:47 PM
Run server-side code every time a form opens on iPad or Android?
Although the .NET form script event handler "AfterOpen" can be used to retrieve data and prefill a form, it is only executed when a new form templ...
Tue, 6 Oct, 2015 at 6:49 PM
How do I find the path of a DataPath export
It is often helpful to be able to find the path that a DataPath export was saved to.  For example, a PDF export could be used to attach to an email.  To fin...
Sat, 2 Apr, 2016 at 8:50 AM
Cascading data across form controls
There are times you are designing a form and realize that it will require the same fields/data to be shown on multiple pages of the fo...
Wed, 8 Jun, 2016 at 10:55 AM
Test Inking with a mouse
Currently, Mi-Forms detects different input modalities and has them work as expected. A mouse and keyboard input can enter text, a stylus can ink, and a t...
Thu, 16 Jun, 2016 at 2:26 PM