frevvo Latest - This documentation is for frevvo v10.0. Not for you? Earlier documentation is available too.
Any form can be rendered as read-only by appending the form URL with the parameter _readonly=true. In read-only mode, all controls are disabled from entry including dropdowns, repeats and upload controls. The default value is false. Here is an example of the Raw Form Link with the &_readonly parameter appended.
The form that displays will not allow data input in any of the controls. Notice that clicking on the dropdown arrow does not display choices.
Normally, rules in your form are not executed in read-only mode. There is one exception: form.load rules will still execute as expected. Any rules that get triggered due to form.load output will also be executed. For instance, you can have a rule executed on form load that will select a tab named Review, of a tab control based on input from a name field. The rule below results in the Review Tab being selected if the name is Jack Smith:
Notice the Review Tab is selected because the rule executes .
Rules that get triggered due to form.load output will also be executed. For instance, In this example, the rule using the form.load identifier discussed above sets the Name control to Jack Smith. Subsequent rules can be created to perform actions based on the value in the name control.
Appending the _readonly=true parameter to your forms Raw Link, will display the form but not allow input. Rules using the identifier form.load and any other rules that get triggered will be executed in Read Only mode. The result is shown in the image: