Skip to main content

Widgets below got validated ON BLUR by default

idx.form.Textbox (rules: required and inputs more than 5 characters)

API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/form/TextBox.js

idx.form.Textarea (rules: required and must contain 'dojo')

API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/form/Textarea.js

idx.form.DateTextBox, vaildation was already implemented.(rules: follow date pattern of 'MMMM dd')

API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/form/DateTextBox.js

idx.form.TimeTextBox, vaildation was already implemented.(rules: follow time pattern of '**:**' PM/AM')

API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/form/TimeTextBox.js

idx.form.NumberSpinner, vaildation was already implemented.(rules: number accepted only, and max value is 1550)

API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/form/NumberSpinner.js

idx.form.CurrencyTextBox, for currency of USD. (rules: number accepted only, and max value is 1100)

API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/form/CurrencyTextBox.js



Widgets below got validated ON CHANGE by default

idx.form.Select, (rules: Select a specified place.)

API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/form/Select.js

idx.form.CheckBoxSelect, (rules: Virginia should be selected)

idx.form.RadioButtonSet, (rules: Radio 1 should not checked.)

idx.form.Checkbox, (rules: Must be checked)

idx.form.HorizontalSlider, (rules: Should be greater than 50%)

API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/form/HorizontalSlider.js

    1. lowest
    2. normal
    3. highest

    Slider1 Value:

    idx.form.VerticalSlider, (rule: Should be greater than 40%)

    API ref: http://dojosh.bluehost.ibm.com/ORIA-OneUI/util/docscripts/preview.php#oneui/form/VerticalSlider.js

    1. 0
    2. 100

      Slider2 Value: