This is awesome! I actually wished for something like this in the feature request forum.
I did run into a few small issues. I can’t seem to get an “if” statement to work on the inner fields. Is this doable? Also, if there was some way to get this to work in an SAEF (by the way, your file upload for SAEF works like a charm), I’ll roll around on the floor like a happy dog.
Here’s an example of what I was trying to do for the output page.
Example:
{loc}
<dl>
<dt>{loc_name}</dt>
<dd>{loc_street}</dd>
{if loc_tel}<dd>phone: {loc_tel}</dd>{/if}
</dl>
{/loc}
When I did try it on an SAEF (along with the file upload extension) the file uploaded to the wrong field. The actual field currently has Mark Huot’s file for the custom field type, so maybe that’s causing a problem there?
EDIT: The file upload extension works fine. I had the wrong ID. Ewps. The other issue is that the Data Matrix Fields don’t get filled.
Those I added like this:
<input value="" name="field_id_6[loc_name][]" type="text" />
<label>Event Location Street Address</label>
<input value="" name="field_id_6[loc_street][]" type="text" />