Using Craft 3.
I created the following field:
myMatrix which has Field Type = matrix
and is part of the group
This is composed of one block:
with 2 fields:
I have assigned the myMatrix field to Users using the control panel (user settings >> fields).
How do I
Access the data in myMatrix from my twig template? I'd like to get all the data in this matrix for the current user and loop through it and display data for each myMatrixField1 & Field2. I can't figure out how to retrieve
How do I create a new record in the
myMatrixfield? I'd like to create a new entry in the
myMatrixfield and store data for the current user in each of the fields.
I've been searching at this for several hours now ... I feel this must be VERY easy but I can't seem to figure it out. Also, if you have a link to documentation on functions/variables that are available for each object at the template level I'd be grateful. I can't seem to find that in the docs either.