What with an even more compact solution: You could use a ComboBox, with 
an additional button. If you enter a new value into the ComboBox' text 
field, the button becomes [+], and on pressing this the value is added 
to the list. If you select a value from the list, or enter an existing 
value by hand, the button becomes [-] and allows you to delete the value 
from the list.

This way, your form's total size never has to change.

T.


On 03/01/2013 03:55 PM, Elemer wrote:
> Hi,
>
> I would like to design a form with Qooxdoo Desktop 2.1
> to allow the user to insert a variable but small
> number of items (for example, email addresses).
>
> If I  use a standard List I will need a TextField for
> the user to enter the data, a Button to insert the
> data, a List to contain the items and a button
> to delete the selected item.
>
> As my form already has several other fields I
> would prefer a more compact solution, like
> the following:
>
> Initially only a TextField and a [+] Button to
> insert the data is presented.
> When the user clicks on the [+] Button it becomes [-],
> the TextField becomes read only and a new row
> with a new TextField and a [+] Button is appended
> to the form.
> If the user presses the [-] Button the correspondent
> row is removed.
> If the maximum number of items is reached, no
> further rows are appended to the form.
>
>
> Any ideas on how to implement this ?
>
>
> Best regards,
> Elemer.
>
>
>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_feb
> _______________________________________________
> qooxdoo-devel mailing list
> qooxdoo-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to