Select Configuration Changes for Upgrade to Quik! Forms Engine Version 5.5
Background
This page contains a list of selected issues encountered by customers upgrading to Quik! Forms Engine version 5.5 and the solution for them. If any issue does not require code changes, the solution is accomplished by simply updating the DLL. Else, code changes are required to see the fix.
Issues
Ticket ID | Description | Requires code changes? | Code changes | Notes |
---|---|---|---|---|
QFE-209 | Multiline - Font size not applied correctly with forms with instances | No | Internal fix | |
QFE-208 | Missing Background Colors. | No | Fix in SetFieldPropertyByFieldName method that was causing this issue | |
QFE-207 | Stuck Multiline Load Icon. Popup is centered and Custom Buttons styles are not present when overriding styles | No | CustomButtons and Multiline styles are always loaded | |
QFE-198 | DropDownList fields not prefilling values | No | The original configuration is enough. Example in Configuration section | |
QFE-196 | BlueDot - Bad address fields prefilling | Yes | Need to include FieldCalcOverride tag in the XML when prefilling a field. Example in Configuration section | |
QFE-195 | Multiline breaking in 5.5 when providing an old metadata value | No | Internal fix | |
QFE-191 | Alt Button Modifications. New way of adding custom buttons via xml string | Yes | Invoke the method with a string instad of an object. Example in Configuration section |
Configuration
QFE-198
First, set up the DropDownList as follows:
Dim strStates As New List(Of String)()
strStates.Add("AK")
strStates.Add("AL")
strStates.Add("AZ")
strStates.Add("CA")
strStates.Add("DE")
strStates.Add("FL")
objQFE.SetFieldTypeByFieldName("1lawfirm.O.State", QuikFormsEngine.FieldType.DropDownList(New List(Of String)(strStates)))
Then, include the item to display via XML (showing the portion of xml that matters) :
<Field><FieldName>1lawfirm.O.State</FieldName><FieldValue>FL</FieldValue></Field>
QFE-196
When adding Addr123 field via XML, you need to include the FieldCalcOverride tag and set the value to true in order to prevent this address from being calculated. An example is given below, showing the portion of the XML that is affected:
<Field><FieldName>1own.H.Addr123</FieldName><FieldValue>This is the Full 123 Address</FieldValue><FieldCalcOverride>true</FieldCalcOverride></Field>"
QFE-191
Call the AddCustomAltDataButton method in the QuikFormsEngine object, passing one xml string per button to be added. At least one parameter needs to be provided, and more than one can be set (params type parameter). Some examples are provided below.
One button
Dim FName As String = "<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?><CustomAltButton><FieldName>1ben.FName</FieldName><Title>Select your Home Address</Title><Groups><CustomAltButtonGroup><GroupLabel>Account 1</GroupLabel><Fields><CustomAltButtonField><Name>1own.H.Addr123</Name><Value>Rivadavia 2134</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.Addr4</Name><Value>Rincon 20</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.City</Name><Value>CABA</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.State</Name><Value>BA</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.Zip</Name><Value>1020</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.Country</Name><Value>Argentina</Value></CustomAltButtonField></Fields></CustomAltButtonGroup></Groups><XSpacing>50</XSpacing><YSpacing>0</YSpacing></CustomAltButton>"
objQFE.AddCustomAltDataButton(FName)
Two buttons
Dim FName As String = "<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?><CustomAltButton><FieldName>1ben.FName</FieldName><Title>Select your Home Address</Title><Groups><CustomAltButtonGroup><GroupLabel>Account 1</GroupLabel><Fields><CustomAltButtonField><Name>1own.H.Addr123</Name><Value>Rivadavia 2134</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.Addr4</Name><Value>Rincon 20</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.City</Name><Value>CABA</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.State</Name><Value>BA</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.Zip</Name><Value>1020</Value></CustomAltButtonField><CustomAltButtonField><Name>1own.H.Country</Name><Value>Argentina</Value></CustomAltButtonField></Fields></CustomAltButtonGroup></Groups><XSpacing>50</XSpacing><YSpacing>0</YSpacing></CustomAltButton>"
Dim LName As String = "<?xml version=""1.0"" encoding=""UTF-8"" standalone=""yes""?><CustomAltButton><FieldName>1ben.LName</FieldName><Title>Select your Phone and</Title><Groups><CustomAltButtonGroup><GroupLabel>Account 1</GroupLabel><Fields><CustomAltButtonField><Name>1own.H.Phone</Name><Value>34346867</Value></CustomAltButtonField></Fields></CustomAltButtonGroup></Groups><XSpacing>50</XSpacing><YSpacing>0</YSpacing></CustomAltButton>"
objQFE.AddCustomAltDataButton(FName, LName)
Related content
For help regarding Quik! Forms and the Quik! API
Email: support@quikforms.com | Phone: (877) 456-QUIK