1. #1
    Sencha User
    Join Date
    Nov 2010
    Vote Rating
    mmourtada is on a distinguished road


    Default Structure form problem need help please.

    I used Oreilly samples to create an app and I can't get the form to show correctly, can some one please point me to what I am missing. Is it possible to have a form in TabPanel ? I am calling the code below with xtype: 'appointment' from the app.js

    CarTechniks.Mobile.Appointment = Ext.extend(Ext.Panel, {
    initComponent: function(){
    this.CarTechniksPanel = new Ext.form.FormPanel({
    scroll: 'vertical',
    fullscreen: true,
    layout: 'fit',
    url: 'postUser.php',
    standardSubmit : false,
    items: [{
    xtype: 'fieldset',
    title: '',
    //instructions: 'Edit and save the changes.',
    defaults: {
    labelAlign: 'center',
    labelWidth: '40%'
    items: [
    xtype: 'textfield',
    name: 'Name',
    label: 'Full Name',
    useClearIcon: true,
    autoCapitalize: false
    }, {
    xtype: 'emailfield',
    name: 'email',
    label: 'Email',
    placeHolder: 'you@yourcompany.com',
    useClearIcon: true
    xtype: 'passwordfield',
    name: 'Password',
    label: 'Password',
    placeHolder: 'password',
    useClearIcon: true
    this.items = [this.CarTechniksPanel];
    Ext.reg('appointment', CarTechniks.Mobile.Appointment);
    Last edited by mmourtada; 3 Jun 2011 at 12:33 PM. Reason: removed comment

Tags for this Thread