Using method Forminator_API::update_form_entry
-
When using the “Forminator_API::update_form_entry” method, how do you update items that are not simple “name”/”value” arrays?
For example, a simple field has an array like:
[email-1] => Array ( [id] => 67 [value] => [email protected] )
…and can be updated using entry meta like:
$entry_meta = array( array( 'name' => $key, 'value' => $value ) );
But what about a field that has a deeper array, like:
[name-1] => Array ( [id] => 68 [value] => Array ( [first-name] => john [last-name] => testy ) )
How do you construct the entry meta for such a field, so that it may be updated? Thanks for any help.
Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
- The topic ‘Using method Forminator_API::update_form_entry’ is closed to new replies.