Forum Replies Created
-
AuthorPosts
-
swdvv18Spectator
Ok, that was a great starting point.
I managed to inject code from eMember_profile_utils.php and custom_field_template.php in the root folder of eMember into the api/update.php to accomplish what I wanted.
Obviously this solution will be a problem with updates, but can live with it for now.
Thank you for help.
swdvv18SpectatorHi,
I can retrieve the field values from the text field into the form using eMember shortcode, [wp_eMember_user_details user_info=”Test_Field”].
It’s when I try to update the text field value using the API update.php that I run into problems. All the core fields I can update.
Here is the Formidable Forms API screen.
https://drive.google.com/file/d/1yv1aoX0_gALXboTBWND9qJjWZI3BKvQq/view?usp=sharing
I have a log result from FF API and it says it was successful, but when I check the member profile (WP eMember > Members > Edit) the test field is not updated.
Is there a log that I can check if there is an error?
frm_action
1390
frm_entry
190
frm_code
200
frm_message
Success!
Member profile updated.
frm_url
xxxx/wp-content/plugins/wp-eMember/api/update.php (I edited the path on my development server)
frm_request
secret_key=v76uzeyuswep&member_id=26&Test_Field=Toaster&first_name=Daffy&last_name=Duck
frm_headers
Content-type: application/x-www-form-urlencoded
-
AuthorPosts