PDA

View Full Version : Validation Problem..



petcy
30 Nov 2010, 9:49 PM
I'm having a form with 3 panels...each have separate save operations..

then how can i validate the panels individually...
The structure is like below..

xtype :'form',
padding :'5px 5px 5px 5px',
labelWidth :100,
labelAlign:'left',
height :560,
layout :'column',
border :false,
items : [ {
xtype :'panel',
title :'',
columnWidth :0.34,
height :300,
width :120,
buttonAlign:'left',
border :false,
layout :'form',
items : [
..........
]...button(SAVE)},
{
xtype :'panel',
title :'',
columnWidth :0.34,
height :300,
width :120,
buttonAlign:'left',
border :false,
layout :'form',
items : [
..........
].button(SAVE)..} ,...
]

if this is a single panel then form.isValid() ,,,is OK........here how???

petcy
1 Dec 2010, 1:54 AM
any suggestions...