Table of ContentsPreviousNextIndex

FacilitatePro


Special Rules Associated with Pull-down menu, Radio Button or Drag and Drop

The custom error message text box of the Voting Rules section is used to set and enforce certain requirements on how many of a certain selection may be made. For example, an option called "Top Priority" might be limited to only one item, or an option called "Projects to Drop" might require at least two items. Special rules are enforced as a participant saves and submits their voting ballot; he will receive an error message explaining the rules that have been broken and given an opportunity to change their votes and submit again. The ballot will not be accepted until the rules are correctly adhered to.
The following format must be followed for special rules. Click on the Help icon next to this section to review the code format and cut and paste and example into your voting profile.
<!-- Special Rule Format: Create a value for each pull-down menu or drag and drop voting choice. 0 means that no items can be left in this option; positive value (e.g., 1) means no than; a negative value (e.g. -1) means no less than; NA means no rules apply. -->
<Start Special Rule> 0,1,NA,NA,-1<End Special Rule>
<i>The "XSRPullDownDescriptionX" option may be used XNoMoreNoLessX than XSRAllowedX timeXSRAllowedPluralX. You have used it XSRActualX timeXSRActualPluralX. Please correct your ballot and resubmit.<br>

Special Rule Error Message Parameter
Description
XSRPullDownDescriptionX
The text description of the menu item that was assigned too many or too few times.
XSRAllowedX
How many items were they allowed to vote for using this value.
XSRAllowedPluralX
If the allowed items equals 1 this is replaced with a blank for any other value it is replaced with an "s".
XSRActualX
How many items did they vote for using this value.
XSRActualPluralX
If they have used the value once this variable is replaced with a blank for any other value it is replaced with an "s".
XNoMoreNoLessX
If the allowed value is a positive number this variable is replaced with the text "no more." If it is a negative number it is replaced by the text "no less."

Voting rules special rule specifications and custom error message

Facilitate.com, Inc.
Copyright 1992 - 2011, Facilitate.com, Inc.
All Rights Reserved
www.facilitate.com
Voice: (805) 682-6939
support@facilitate.com
Table of ContentsPreviousNextIndex