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 4015988
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T09:41:08+00:00 2026-05-20T09:41:08+00:00

I want to be able to convert a html form to an ExtJs form.

  • 0

I want to be able to convert a html form to an ExtJs form. I have read that you have to do something with applyTo but wasn’t really sure about what to do.

I hope someone can provide me with some help,

Cheers

  • 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-20T09:41:09+00:00Added an answer on May 20, 2026 at 9:41 am

    If you want to convert every element in a form to an ExtJS element, someone on the Sencha forums has posted a solution (which I will cross-post here):

    function convertForm(formId) {
        var frm = new Ext.form.BasicForm(formId);
        //frm.render();
    
        var fields = frm.getValues()
    
        for (key in fields) {
    
            var elem = Ext.get(key);
            if (elem && elem.hasClass('combo-box')) {
                var cb = new Ext.form.ComboBox({
                    transform: elem.dom.name,
                    typeAhead: true,
                    triggerAction: 'all',
                    width: elem.getWidth(),
                    forceSelection: true
                });
            }
            else 
                if (elem && elem.hasClass('date-picker')) {
                    var df = new Ext.form.DateField({
                        format: 'm/d/Y'
                    });
                    df.applyTo(elem.dom.name);
                }
    
            if (elem && elem.hasClass('resizeable')) {
                var dwrapped = new Ext.Resizable(elem, {
                    wrap: true,
                    pinned: true,
                    width: 400,
                    height: 150,
                    minWidth: 200,
                    minHeight: 50,
                    dynamic: true
                });
            }
        }
    }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a object i that i list in HTML tables. But i want
I want to be able to convert between the Gregorian and Julian calendars (note:
I want to be able to click a button and open a new form
I want to be able to convert a std::stack<> to a std::deque<>. Is there
I'm trying to convert an HTML block which is basically in the following form
Using Python 2.6 I want to be able to convert numbers such as 00000,
I need to read a bi-dimensional array and convert the values into an HTML
I am able to scrape a page for URLs, but I want to know
I have a partial view that returns an HTML chunk of list items that
I want to create a html page that can be used to upload videos

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.