String Equal

From InstallJammer Wiki

Jump to: navigation, search

[edit] Documentation Page

http://www.installjammer.com/docs/StringEqualCondition.html


[edit] Examples

Validating Non-blank User Input

Add a condition to the pane using a String Equal Condition. The essential attributes are:

  • Check Condition
  • Failure Message
  • Operator
  • String 1
  • String 2

Procedure

  • In the Condition Dialog, set Check Condition to Before Next Pane is Displayed
  • The failure message should indicate what was expected (required) and how it failed to meet the requirement. E.g.: You must enter a value for User Name.
  • The Operator should be does not equal because we will validate against a "blank" entry.
  • String 1 (or String 2) should be set to the Virtual Text that represents the Entry Widget(1) and the other String, either 1 or 2 is left blank.


The Entry Widget(1) should include:

  • Type: entry
  • Virtual Text: any name of your choosing. It will be referenced in the Condition, above.


(1) An "Entry Widget" is Component Type: Add Widget of type entry in the Advanced Properties of the Widget.

Personal tools