Matrix fields within a plugin? I'm just starting to explore the whole power of Craft and I'm really satisfied with its possibilities so far.

But I can't get one thing done, so here's my question:

Is it possible to use matrix fields in my very own plugins? I already finished a form with several fields just as text inputs and stuff but I really need to extend this thing with a matrix field.

Am I just blind and it's documented anywhere or is it a more complicated task than I can imagine at this point?

Thanks for your help.

Jonas
Matrix fields can only be used as custom fields, on an element.

If you really want to use them, you would need to create a custom Element Type (see the resources at the bottom of http://buildwithcraft.com/docs/plugins/working-with-elements), and then create a Matrix field that is associated with your element type’s field layout.