[CLOSED] FormPanel + Change field type based on a value

  1. #1

    [CLOSED] FormPanel + Change field type based on a value

    Hi,

    Is it possible to change the field type based on a value?

    Basically I need to switch between TextField, NumberField, DateField, CheckBox and ComboBox


    Thank you for your help
    Last edited by Daniil; Oct 26, 2012 at 5:54 PM. Reason: [CLOSED]
  2. #2
    Hi @bossun,

    You do need all these fields. You can hide all fields apart from a required one.

    Another approach is using CardLayout.
    https://examples2.ext.net/#/Layout/CardLayout/Basic/

    Though the requirement is unclear a bit. What moment do you know what a field you need to show?

Similar Threads

  1. Replies: 2
    Last Post: Mar 30, 2012, 5:52 AM
  2. Change input type based on data type
    By bjones in forum 1.x Help
    Replies: 5
    Last Post: Jan 06, 2012, 9:54 AM
  3. Replies: 0
    Last Post: Sep 02, 2011, 10:10 PM
  4. Lock column from editing based on value entered on other field
    By n_s_adhikari@rediffmail.com in forum 1.x Help
    Replies: 2
    Last Post: Aug 07, 2009, 5:28 PM
  5. [CLOSED] MVC Json and Date field type
    By mthird in forum 1.x Help
    Replies: 2
    Last Post: Oct 17, 2008, 6:05 AM

Posting Permissions