I did that and th sign-up looks great now without any
application.dryml overrides but when i click edit user i still get
only the default fields. I checked the rapid tag for "form" for "User"
and "sign-up" and they both have the same proper auto generated
definition and yet fields don't show.

On Aug 21, 12:39 am, kevinpfromnm <[email protected]> wrote:
> when you change fields, it replaces the autoselected group so you need
> to include all the fields you want in the field-list.  Since signup is
> controlled by a lifecycle, you need to add the parameters you want to
> the lifecycle signup transition declaration.
>
> app/models/user.rb
>   lifecycle do
>
>     state :active, :default => true
>
>     create :signup, :available_to => "Guest",
>            :params =>
> [:name, :email_address, :password, :password_confirmation, :city, :province],
> # <-- added at end of params list
>            :become => :active
>
> You shouldn't need to override the form for the fields after adding
> those to the params list as hobo will see that the two items should be
> passed as parameters.
>
> On Aug 20, 3:47 pm, Scorpio <[email protected]> wrote:
>
> > I've got an extended model with fields for city, address, phone, fax
> > etc and yet they don't show up in my form signup. In my
> > application.dryml I've created:
>
> > <extend tag="signup-form" for="User">
> > <old-signup-form merge>
> >   ->>>
> >   </old-signup-form >
> > </extend>
>
> > It is my understanding that this should give me the old form and
> > using
>
> > ->>> <field-list: fields="city, province"/>
>
> > and the like where the arrow is should extend my form yet it gives me
> > a blank page and the form list overrides not appends the form. Also
> > when i try to override i often get
> > undefined method `confirm_password' for #<User:
> > and such. Depending on what the field name is. How and where do I fix
> > all that ?
>
> > Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to