Re: [html-formfu] Creating a new record

2009-03-18 Thread Ascii King
Apparently this is an RTFM issue. I see now that i should be using find_or_new to look for an existing record or call a new one. However, I do not know how to code the insert statement necessary to commit the record to the database. Can anyone show me this? my $book = $c->model('DB::Prior')

Re: [html-formfu] Creating a new record

2009-03-17 Thread Ascii King
I have a has_many relationship between Character.pm and CharacterBackground.pm I apologize for the long names, but I was trying to make sure it wasn't the naming that was causing the problem. When I call a new record from Character and use a repeatable element to pull up and display the Chara

Re: [html-formfu] Creating a new record

2009-03-17 Thread Carl Franks
2009/3/16 Ascii King : > I use the following code to call my formfu form.  When I want a new, empty > record, I just call the sub with no parameters. It works well except for the > repeatables. My repeatable elements on the form load every record in the > 'many' table. > What am i doing wrong? Hi

[html-formfu] Creating a new record

2009-03-16 Thread Ascii King
I use the following code to call my formfu form. When I want a new, empty record, I just call the sub with no parameters. It works well except for the repeatables. My repeatable elements on the form load every record in the 'many' table. What am i doing wrong? sub editprior : Local FormConfig