[dev] Dynamic Horde Form question

Jan Schneider jan at horde.org
Mon Feb 14 10:55:23 UTC 2011


Zitat von Luis Felipe Marzagao/Andamentos <lfbm.andamentos at gmail.com>:

> I have two tables, clients and aliases. One client has many aliases.
>
> I'm building the form to add clients, and I would like to let the  
> user add, in that same form, as many aliases for the client as he  
> wants.
>
> Is it possible to dynamically add more aliases text variables fields  
> to the same Horde_Form, in a manner that each field would be shown  
> (added) if the previous was filled, and so on?
>
> I'm think off the *reload* action, but I don't know if there's a  
> better way or strategy (simpler).

The reload action sounds like it is what you want.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list