Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6629321
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T22:14:37+00:00 2026-05-25T22:14:37+00:00

I have taken the form example from Sencha Touch API var form = new

  • 0

I have taken the form example from Sencha Touch API

    var form = new Ext.form.FormPanel({
    items: [
        {
            xtype: 'textfield',
            name : 'first',
            label: 'First name'
        },
        {
            xtype: 'textfield',
            name : 'last',
            label: 'Last name'
        },
        {
            xtype: 'numberfield',
            name : 'age',
            label: 'Age'
        },
        {
            xtype: 'urlfield',
            name : 'url',
            label: 'Website'
        }
    ]
});

and I have created a timeline object using

timeline = new Ext.Component({
        title: 'Loan Details',
        cls: 'timeline',
        scroll: 'vertical',
        tpl: ['<div></div>']
});

and then added the timeline to the panel as:

panel = new Ext.TabPanel({
        fullscreen: true,
        cardSwitchAnimation: 'slide',
        ui: 'light',
        items: [timeline]
    });

How can I add the form object to the timeline? Like how I can show that on it? Where I should add it?

Thanks for the response in advance.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T22:14:38+00:00Added an answer on May 25, 2026 at 10:14 pm

    I’m not sure what you are trying to do. Are you trying to have some kind of continuous carousel where you will put the FormPanel?
    If so you should extend the Ext.Panel to make that timeline object and then as item use the xtype:’fieldset’ and have the form items there.

    For example:

    App.views.Timeline = Ext.extend(Ext.Panel, {
    initComponent: function() {
      Ext.apply(this, {
            title: 'Loan Details',
            cls: 'timeline',
            scroll: 'vertical',
            items:[
            {
                xtype: 'fieldset',
                defaults: {
                labelAlign: 'left',
                labelWidth: 'auto',
                }
                items: [
                    {
                        xtype: 'textfield',
                        name : 'first',
                        label: 'First name'
                    },
                    {
                        xtype: 'textfield',
                        name : 'last',
                        label: 'Last name'
                    },
                    {
                        xtype: 'numberfield',
                        name : 'age',
                        label: 'Age'
                    },
                    {
                        xtype: 'urlfield',
                        name : 'url',
                        label: 'Website'
                    }
                ]
                }
            ]
    });
    }});
    

    the Ext.Component is for showing data through the data property. The data is display according to the template you provide i.e. the tpl property but you need to specify the property of the objects you want to show. For example tpl:<div>{text}</div> and data:[{text:'Example'}]

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code example taken from the code of a Form :
Below example is taken from this documentation page: https://github.com/activescaffold/active_scaffold/wiki/Chaining-Form-Fields [Example start] You can set
I have an embedded iframe form which takes a file from a type=file form
I have an application which takes a string value of the form %programfiles%\directory\tool.exe from
I have taken an example taught to us in class,wherein a javascript is used
So for example I have a simple HTML form: <h3> <a href=#>Login</a> </h3> <div
I have a cgi script which takes form input, I want to facilitate the
We have the requirement to take a form submission and save some data, then
I have a form which takes both the user details and an image uploaded
I have a form that takes the following inputs: Name: IBM Surface(in m^2): 9

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.