File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 560560 . attr ( { id : networkID } )
561561 . append ( $form )
562562 ) ;
563+
564+ $form . validate ( ) ;
563565 } ) ;
564566
565567 $tabs . find ( 'li:first' ) . addClass ( 'first' ) ;
937939 if ( $target . closest ( 'div.button.next' ) . size ( ) ) {
938940 var $step = $steps . filter ( ':visible' ) ;
939941 // Validation
940- var $form = $step . find ( 'form' ) . filter ( function ( ) {
942+ var $form = $ ( 'form:visible ' ) . filter ( function ( ) {
941943 // Don't include multi-edit (validation happens separately)
942944 return ! $ ( this ) . closest ( '.multi-edit' ) . size ( ) ;
943945 } ) ;
Original file line number Diff line number Diff line change 353353 vlanRange : {
354354 label : 'VLAN Range' ,
355355 range : [ 'vlanRangeStart' , 'vlanRangeEnd' ] ,
356- validation : { required : true }
356+ validation : { required : true , digits : true }
357357 }
358358 //Advanced (end)
359359 }
You can’t perform that action at this time.
0 commit comments