NNKL.COM
welcome to my space
X
Search:  
 HOME   [2.0] On-the-fly add/remove form fields?
[2.0] On-the-fly add/remove form fields?
Published by: jack 2009-01-07
Welcome to:nnkl.com

  • Hi there,

    Where this wasn't possible with 1.x, is it yet possible to add/remove fields on the fly (post-render) with 2.0?

    Thanks!
    Alex


  • Seems the component.insert( index, component ) method does the trick. Now to find a crafty means to devise a form manager so that we can have an insertBefore/insertAfter :)
    Adventia - E-Data 2.0 FAQ::
    The HTML formatting is done on the fly by reading from To remove a field, just delete the command line of the do I add fields to the
    http://www.adventia.com/helpdesk/faq_edata.htm
    HOME

    Cheers!
    Alex


  • BigAdmin Feature Article: Solaris OS Networking -- The Magic Revealed::
    The string of functions created on the fly (event-list) for processing a packet This entry point is used to add and remove addresses to and from the set of
    http://www.sun.com/bigadmin/features/articles/solaris_networking.html
    HOME
    VSJ | .NET Zone | Data Binding for Windows Forms::
    Add a BindingSource to the form by dragging it onto the canvas from the Data for changing the appearance of your application on the fly, or for enabling and
    http://www.vsj.co.uk/dotnet/display.asp?id=655
    HOME
  • Alright, something like this works as far as addition goes:


    "http://www.w3.org/TR/html4/loose.dtd">


    Form Field Removal?
    Development Tools - PHP Scripts::
    gets variables and values, makes the form with input fields and the Lang files. a new program you can add, remove and edit the values on the fly as you build.
    http://www.scripts.com/php-scripts/development-tools/ft00100/2/
    HOME
    Search Results::
    Tune it yourself on the fly, changing colors, backgrounds, RE: add and remove role ? RE: Using the same form for multiple sign ups
    http://www.datasprings.com/SearchResults/tabid/37/language/Default.aspx?Search=help
    HOME
















  • doLayout does the trick - thanks Saki.

    On a related note, can we only append fields to a form, and not at a specific position?

    Something like:

    "addAt( field, position )"

    would be great. Sometimes fields need a specific ordering...


  • I should be (not tested): form.add(a-field-instance). Maybe you need to call form.doLayout() then.


  • Take a look at the function render in file Component.js. There is argument position but I've never tried.

    Take this as a hint only...;)





  • I Am a Sinner – What About You?
    Global Sourcing and Supplier Online by Dylan

    You are looking at:nnkl.com's [2.0] On-the-fly add/remove form fields?, click nnkl.com to home
  • vacuum forming packaging consulting and design
  • nonprofit tech grants for an apple shop
  • automatic cohesive cardboard packaging machine
  • uefa 39 s proposal to require clubs to field 39 home grown 39 players
  • marketing trade shows
  • deluxe scuba vacation in the caribean
  • steroids and baseball
  • baseball game logs
  • 100 000 most commonly searched terms
  • business outlook for cincinnati
  • what is a flash me cash software
  • supplier of polypropylene rope for sandals
  • optimized size to best accommodate market
  • trade show leads for jbf777ga
  •  
  • equipment to manufacture fibre forms for concrete
  • offroad tires for gmc sierra trucks
  • high tech psychology schools
  • budget allocation staffing dedicated to direct database marketing effforts
  • contact details for laboratories in the usa
  • market research in the graphic arts industry
  • what cars do these parts go to
  • very urgent
  • aftermarket automtive radiator market
  • information technology trends in transportation leisure media
  • hockey players roughness
  • autc major league baseball jerseys
  • san francisco to mcallen texas
  •  Homepage | Add to favorites | Contact us | Exchange links | LOGIN | Site map | 
    Copyright© 2008 nnkl.com        Site made:CFZ