| ▪ | Forms and Questions can have different rules that determine their behaviour |
| ▪ | All Question Rules are WAFFL Statements |
| ▪ | See Section entitled Business Rules - WAFFL for further assistance |
Definition of Answer box rule
| ▪ | This rule is only used with the Dynamic Answer Box Type |
| ▪ | It evaluates to the type of Answer Box to be displayed |
| ▪ | For example: This rule must evaluate to “Text Box”,”List Box” etc... |
Definition of AUTO VALUE
| ▪ | The AutoValue is the value that this answer will display regardless of any information in the database or in the form |
| ▪ | For example: If you have a Text box with an AutoValue of 1 then regardless of what you change the value to or what value is in the database the text box will always be displayed as 1 when the form is displayed |
| ▪ | Auto values are generally used for calculations based on information that is in a form or in the database |
Definition of dynamic text
| ▪ | This Rule expects an Error Message or a blank message as a result |
| ▪ | Often the question being asked may change slightly based on criteria |
| ▪ | If no information is supplied in this field the normal question will be asked |
| ▪ | For Example: The following Dynamic Text Rule Hi @@User.Username how are you? asks the question to Carla who is logged into the system Hi Carla how are you? |
Definition of Hidden Rule
| ▪ | This Rule expects a True, False, 1 or 0 as a result |
| ▪ | This hides the Answer box for a particular Question |
| ▪ | If the Question is in a One Subform type then it also hides the Question |
Definition of Default Value Rule
| ▪ | This Rule expects a Text String as a Result |
| ▪ | Often Designers may want to pre populate an Answer Box with a value |
| ▪ | Text entered into the Rule will appear to the End User when they open the web form |
Definition of Required Rule
| ▪ | This Rule expects a True, False, 1 or 0 as a result |
| ▪ | The Required Rule determines when a Question is required |
| ▪ | If an answer is not given then an error message will appear meaning this rule has evaluated to 1 or True |
| ▪ | Note: Primary Key fields are always required and the Check Boxes always supply an answer |
Definition of Editable Rule
| ▪ | This Rule expects a True, False, 1 or 0 as a result |
| ▪ | Under what conditions should the User be able to edit an answer |
| ▪ | If conditions acting upon the Form i.e. the object is locked or disabled would normally mean the answer box is disabled but this rule evaluates to true the answer box is now enabled |
Definition of Rule
| ▪ | This Rule expects an or a Blank message as a result |
| ▪ | Although Kontinuum supplies error messages when the validation rule fails or when the data entered into the Answer Box doesn’t match the data type etc, these error messages may not be intuitive to users |
| ▪ | This rule allows Designers to customise error messages to the Users |
Definition of Selection Rule
| ▪ | This Rule expects a list of entries in the following Format [value1][value2][value3]... or [value1,,display1][value2,,display2][value3,,display3]... |
| ▪ | When using the SQLset function the values it returns are in this Format. |
| ▪ | The Selection Rule determines for an Answer Box what values are possible entries |
| ▪ | The Selection Rule can be used to populate List Boxes, Check Boxes, Side Bars, Top Bars, Double Boxes and Radio Buttons |
Definition of Submit on Change Rule
| ▪ | This Rule expects a True, False, 1 or 0 as a result |
| ▪ | The Submit on Change Rule determines under what conditions should a change in the Answer Box cause the Form to submit |
| ▪ | If this Rule evaluates to True the Form will refresh possibly recalculating variables and potentially showing or hiding certain questions |
Definition of Uneditable Rule
| ▪ | The Uneditable Rule expects a True, False, 1 or 0 as a result |
| ▪ | This Rule determines under what conditions the End User should not be able to edit an Answer |
| ▪ | If the Answer Box type would normally be enabled and this rule evaluates to true the Answer box is then disabled |
Definition of Validation Rule
| ▪ | This Rule expects a True, False, 1 or 0 as a result |
| ▪ | The Validation Rule determines under what conditions is the answer to the question is valid |
| ▪ | If the Validation Rule evaluates to true the data is valid and the Form will submit
|
|