Code:
<!doctype html>
<html>
<head>
<title>Test case - form</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="apple-mobile-web-app-capable" content="yes">
<link rel="stylesheet" href="css/sencha-touch.css" type="text/css">
<script type="text/javascript" src="js/sencha-touch-debug.js"></script>
<script type="text/javascript">
Ext.ns('Ext.ux');
Ext.ux.UniversalUI = Ext.extend(Ext.Panel, {
fullscreen: true,
layout: 'card',
items: [{
xtype:"form",
scroll: 'vertical',
items: [{
xtype: "fieldset",
title: "Fieldset",
margin: "15 15 40 15",
defaults: {
labelWidth:130,
autoCapitalize: false
},
items: [{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Label 1",
placeHolder: "some placeholder"
},{
xtype: "textfield",
name: "whatever",
label: "Hello",
placeHolder: "Type 'Hello World' after it try adding 'cruel'"
}]
}]
}]
});
Ext.setup({
onReady: function() {
Ext.mainUI = new Ext.ux.UniversalUI();
}
});
</script>
</head>
<body>
</body>
</html>