On 03/10/10 15:26, Carl Franks wrote:
2010/3/10 Alex Povolotsky<tark...@over.ru>:
Hello!

I recall I've done it with HTML::FormFu::Model::DBIC once, but I could not
find code...

Having two simple tables

create table country (id serial primary key, name varchar(128) not null);
create table city (id serial primary key, name varchar(128) not null,
country int not null references country(id));

how do I create a form to add/edit city allowing to add country on the fly?

Just a selection of existing ones is trivial. I understand I must group
Select and Text, but how exactly?
Use a ComboBox element.

YES!!! That's exactly what I could not recall!!!


_______________________________________________
HTML-FormFu mailing list
HTML-FormFu@lists.scsys.co.uk
http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/html-formfu

Reply via email to