The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Updating Image Meta, no clear answers found

Labels

This Discussion is public

Notifications

I've seen this asked, but no-one has answered, other than to use the frm_after_create_entry, and I can set the alt text.

I have a form that uploads 12 images (not counting the profile image) and each images has an associated "Title" field.  I can't grasp how to loop through the images and their associated text field  without repeating the entry 12 times.

Note, it is not one upload field that allows multiple attachments.  It is 12 upload fields and 12 title fields. Additionally, I have more than one form with 12 images.

I think the question is two fold:

  1. How do I loop through the fields of my form instead of typing out the id of each field.
  2. How do I update the attachments Title or Caption Meta. I am using gallery shortcode that displays caption and meta, but I only need one or the other.

The forms can be viewed here: http://findartisanmarkets.com/sign-up/

Any suggestions on how to do this would be great!

Thanks!

Discussion closed.