Is there incorrect syntax in this gist – some values not saving
-
https://gist.github.com/ameeker/b424c782f966f62c3b91
I wondered if I could get another pair of eyes to look at this gist. What is does: creates custom profile fields for Restrict Content Pro, which can be viewed on the front end profile editor, and also in the backend. It mostly works. When a user registers, they can see all of the custom fields, complete them just fine, and the values for each field are saved/stored. I know this because they are echoed out in several places on the front end (including the front end profile editor). BUT, the VALUES for some are not visible in the admin view in the Dashboard. The fields are present, but the values aren’t saving in the profile editor. Specifically, it’s Other Memberships, and all of the rcp_univ fields (any having to do with university).
It seems to me like maybe there’s simply something wrong with my syntax for displaying the values of those fields since they ARE saving, and are viewable in other places besides the backend. And, I know the functions for displaying the values work IN GENERAL, because some of the other fields are saving.
Have I missed something (a comma, etc…)?
- The topic ‘Is there incorrect syntax in this gist – some values not saving’ is closed to new replies.