zjnz

welcome to my space

Form problem

  • I have a very basic form, yet renderTo/applyTo cause errors. I am largely using one of the examples and tweaking it to my needs. Here are the basics:




  • hey deitch
    you missed (,) on

    var person = new Ext.form.FormPanel({
    frame: true,
    id: 'person-data-form',
    layout: 'column',
    items: [{
    xtype: 'fieldset',
    title:'Person details',
    defaults: {width: 150}, // Default config options for child items
    defaultType: 'textfield',
    border: false,
    style: {
    "margin-left": "10px",
    height: Ext.isIE ? '12em' : 'auto'
    },
    items: [{
    fieldLabel: 'Last Name',
    name: 'surName'
    },{
    fieldLabel: 'First Name',
    name: 'firstName'
    },{
    fieldLabel: 'Title',
    name: 'title'
    }]
    }], // you missed it
    renderTo: 'detailDiv'
    });


  • What can I say, except... "DOH!"

    Thank you!







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Form problem , Please add it free.
    edit

    Mexico