Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Grabbing data from multiple field pairs Reply To: Grabbing data from multiple field pairs

#169364
shaneisme
Participant

Yes, each of the pairs would need a unique name you could parse to know they go together.

For instance skill_1 goes with skill_rating_1. You could build this dynamically of course just using an increment (eg. $i++) in your foreach loop when rendering the form to the user.

Then you could just parse looking for the _1 and pair them together.

I’m sure there are other ways too, just what I thought up off the top of my head :)