I have added extra user meta data fields for users including height and weight, I’ve figure out how to echo these on the front end, but would like them to populate form fields when the corresponding user is selected with a ‘user’ field type.
So the first field in the field group is ‘user’. When a user is chosen, if that user has a user_height for example, then the following ‘number’ type field will be populated with that number. It needs to be dynamic, so if the ‘user’ field is changed, it will update to bring in the user_height for the appropriate user.
Hope that makes sense,
Thanks in advance
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users