Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Ext.define('MyApp.view.Forms', {
- extend: 'Ext.Container',
- xtype: 'formsPage',
- config: {
- title: 'Patient Registration',
- iconCls: 'user',
- layout: {
- type: 'card'
- },
- items: [
- {
- xtype: 'fieldset',
- title: 'Patient Registration1',
- items: [
- {
- xtype: 'textfield',
- label: 'Names',
- name: 'name'
- },
- {
- xtype: 'textfield',
- label: 'City',
- name: 'city'
- },
- {
- xtype: 'button',
- ui: 'action',
- text: 'Submit',
- action: 'submitInfoForm'
- }
- ]
- },
- {
- xtype: 'fieldset',
- title: 'Patient Registration2',
- items: [
- {
- xtype: 'textfield',
- label: 'Phone',
- name: 'phone'
- },
- {
- xtype: 'textfield',
- label: 'Country',
- name: 'conutry'
- }
- ]
- }
- ]
- }
- });
- MyApp.container = Ext.create('MyApp.view.Forms', {
- id: 'infoForm'
- });
Advertisement
Add Comment
Please, Sign In to add comment