Tiny tutorial for programming SFI?

Jump to: navigation, search

I have almost finished with my FormsInput for picking multiple elements so I'll be able to expand your instructions a little bit. I still don't understand some things, would you mind to help me with them?

  • the name attribute of the form input sometimes have brackets like in it like this: input3[].
  • On the other hand sometimes we add an additional hidden element like
    Html::hidden($name . '[is_list]', 1)
    
    .
  • And thirdly we have the method canHandleLists() to override.

It seems that all three thing are indicating that the form input can handle lists, but it's pretty weird to see three different pieces of code trying to say the same thing. :-)

Katkov Yury (talk)09:45, 9 May 2012

Sorry, I never developed any inputs capable of handling lists. You should contact Yaron about that. Cheers,

F.trott (talk)11:24, 9 May 2012