I have a matrix field with a block called "employment", under this block are fields, one of those fields is a drop down.
I'd like to be able to output the drop down field as a select list so users can choose from it.
Note: that I'm NOT trying to output what a user has selected, I just want to output the options from which a user can select.
Thanks!
UPDATE
That's not really what I'm after. Let me be more clear.
The matrix field I'm speaking of is attached to the user model but I'm not trying to output the user's data saved for the matrix. What I'm trying to do is simply output a field of a given matrix.
I am able to load the matrix doing this:
{% set matrix = craft.fields.getFieldByHandle('employmentMatrix') %}
But I'm not sure how to access the matrix's blocks then fields. I tried this:
{% set matrix = craft.fields.getFieldByHandle('employmentMatrix') %}
{% set blocks = craft.matrix.getBlockTypesByFieldId(matrix.id) %}
But I get an error saying "matrix" is not a method.