Ajax form with sub items?

Hi,

I’m new to rails. I’m trying to make an Ajax form to add/edit items,
with a “subform” to add/edit subitems on the same form. But I have no
idea how to begin with this, or what terms to search for tutorials. So
if anyone can point me in the right direction, or write up basic
explenation, it would be greatly appreciated.

Thanks,

Sven Magnus

Guest wrote:

Sven Magnus wrote:

Hi,

I’m new to rails. I’m trying to make an Ajax form to add/edit items,
with a “subform” to add/edit subitems on the same form. But I have no
idea how to begin with this, or what terms to search for tutorials. So
if anyone can point me in the right direction, or write up basic
explenation, it would be greatly appreciated.

Thanks,

Sven Magnus

Hi Sven,
What do you mean by “subform”. I need to make forms where a user can
add/edit more than one of each item. Maybe it’s the same thing. I found
this
article
and thier features say they can do this.

I guess that link is
http://ajax.phpmagazine.net/2007/03/frevvo_create_your_web_20_form.html
and the company’s link is http://www.frevvo.com

Sven Magnus wrote:

Hi,

I’m new to rails. I’m trying to make an Ajax form to add/edit items,
with a “subform” to add/edit subitems on the same form. But I have no
idea how to begin with this, or what terms to search for tutorials. So
if anyone can point me in the right direction, or write up basic
explenation, it would be greatly appreciated.

Thanks,

Sven Magnus

Hi Sven,
What do you mean by “subform”. I need to make forms where a user can
add/edit more than one of each item. Maybe it’s the same thing. I found
this
article and thier features say they can do this.

Hi Sven,

Sven Magnus wrote:

I’m new to rails. I’m trying to make an Ajax form to add/edit items,
with a “subform” to add/edit subitems on the same form. But I have no
idea how to begin with this, or what terms to search for tutorials. So
if anyone can point me in the right direction, or write up basic
explenation, it would be greatly appreciated.

I highly recommend Cody F.'s RJS Tutorial. It’s in PDF, available
for
$10 at O’Reilly. Best $10 I spent on Rails (cause they wouldn’t let me
buy
half of AWDwR or Pickaxe :wink: )

Best regards,
Bill