Show
Ignore:
Timestamp:
03/06/07 04:34:58 (22 months ago)
Author:
doughays
Message:

Fixes #2348. "occupation" text box in tests/form/test_validate.html demonstrates that this is fixed.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/tests/form/test_validate.html

    r7526 r7527  
    123123                                <span class="emphasize"><label for="q04">Occupation:  </label></span> 
    124124                                <span class="noticeMessage">ValidationTextbox class,  
    125                                         Attributes: {lowercase: true, required: false}. Displays a prompt message if field is missing. </span> 
     125                                        Attributes: {lowercase: true, required: true}. Displays a prompt message if field is missing. </span> 
    126126                        </div> 
    127127                        <div class="formAnswer"> 
     
    129129                                        dojoType="dijit.form.ValidationTextbox" 
    130130                                        lowercase="true"  
     131                                        required="true" 
    131132                                        promptMessage="Enter an occupation" /> 
    132133                        </div> 
     
    440441                                        regExp="[\w]+" 
    441442                                        required="true"  
    442                     invalidMessage="Invalid Non-Space Text." /> 
     443                                        invalidMessage="Invalid Non-Space Text." /> 
    443444                        </div> 
    444445 
     
    459460                                <input id="ticket1651" class="medium" value="not null"/> 
    460461                        </div> 
     462 
    461463<script> 
    462464        // See if we can make a widget in script and attach it to the DOM ourselves.