02/23/2016 at 4:19 pm
#366581
Keymaster
@ George
Hmmm, I don’t really have anything I could point you too… here’s what I can tell you off the top of my head.
You would register a repeatable custom field just like you would a custom text field. Except you would register a callback rather than the fields array. Here’s an example of the phone numbers repeatable field being registered. Here’s the callback function being run to render the repeatable phone field. To save your data you would have to hook into the cn_post_process_$action-entry action. Where $action would be add or update. In the action callback you would use cnMeta::add() and cnMeta::update accordingly.
Hope that helps!
