sissonb
17 Apr 2012, 3:19 PM
I have two instance of the same form on the page. These forms are separate from each other, but they are conflicting.
http://content.screencast.com/users/bens1/folders/Jing/media/b2ff426c-fdd6-44d0-96d9-c988dc60ad1a/2012-04-17_1616.swf&blurover=false
Why is this happening? Let me know if you need more info.
Example. http://screencast.com/t/eqeSdQ5aCTvK
Ext.application({
launch:function () {
Ext.create('Ext.container.Viewport', {
items:[
{
xtype:'form',
itemId:'a',
id:'a',
autoEl:'form',
items:[
{
xtype:"radio",
name:'NAME',
boxLabel:"Blah Blah Blah Blah "
},
{
xtype:"radio",
name:'NAME',
boxLabel:"BlahBlah Blah Blah Blah "
},
{
xtype:"radio",
name:'NAME',
boxLabel:"BlahBlah Blah Blah Blah "
}
]
},
{
xtype:'form',
itemId:"b",
id:"b",
autoEl:'form',
items:[
{
xtype:"radio",
name:'NAME',
boxLabel:"Blah Blah Blah Blah "
},
{
xtype:"radio",
name:'NAME',
boxLabel:"BlahBlah Blah Blah Blah "
},
{
xtype:"radio",
name:'NAME',
boxLabel:"BlahBlah Blah Blah Blah "
}
]
}
]
});
}
});
A normal form doesn't conflict
http://screencast.com/t/aaFhJYc3Q1
<form>
<input type="radio" name="hello"/>
<input type="radio" name="hello"/>
<input type="radio" name="hello"/>
</form>
<form>
<input type="radio" name="hello"/>
<input type="radio" name="hello"/>
<input type="radio" name="hello"/>
</form>
http://content.screencast.com/users/bens1/folders/Jing/media/b2ff426c-fdd6-44d0-96d9-c988dc60ad1a/2012-04-17_1616.swf&blurover=false
Why is this happening? Let me know if you need more info.
Example. http://screencast.com/t/eqeSdQ5aCTvK
Ext.application({
launch:function () {
Ext.create('Ext.container.Viewport', {
items:[
{
xtype:'form',
itemId:'a',
id:'a',
autoEl:'form',
items:[
{
xtype:"radio",
name:'NAME',
boxLabel:"Blah Blah Blah Blah "
},
{
xtype:"radio",
name:'NAME',
boxLabel:"BlahBlah Blah Blah Blah "
},
{
xtype:"radio",
name:'NAME',
boxLabel:"BlahBlah Blah Blah Blah "
}
]
},
{
xtype:'form',
itemId:"b",
id:"b",
autoEl:'form',
items:[
{
xtype:"radio",
name:'NAME',
boxLabel:"Blah Blah Blah Blah "
},
{
xtype:"radio",
name:'NAME',
boxLabel:"BlahBlah Blah Blah Blah "
},
{
xtype:"radio",
name:'NAME',
boxLabel:"BlahBlah Blah Blah Blah "
}
]
}
]
});
}
});
A normal form doesn't conflict
http://screencast.com/t/aaFhJYc3Q1
<form>
<input type="radio" name="hello"/>
<input type="radio" name="hello"/>
<input type="radio" name="hello"/>
</form>
<form>
<input type="radio" name="hello"/>
<input type="radio" name="hello"/>
<input type="radio" name="hello"/>
</form>