- This topic has 3 replies, 2 voices, and was last updated 5 years, 9 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eMember › WP eMember Tweaks › WP eMember Form Builder Addon
Hi,
I’m buying “WP eMember Form Builder Addon”;
is it possible to programmatically edit a value of a field added by this extension?
I need to increase or decrease a counter related to every member
Best regards
You can programatically read the custom field values:
https://support.tipsandtricks-hq.com/forums/topic/custom-field-display-on-page
You might not be able to programatically update custom files though:
https://support.tipsandtricks-hq.com/forums/topic/updating-custom-fields-with-api
Thank you for your reply.
So… I can’t use this addon because I need to update programatically the custom fields
The addon allows you to create the necessary custom profile fields, that your members complete/edit. In the second thread I referenced above; I stated the only reason the existing code does not permit updating of custom fields, is because there is a “check” in the API for existing field name validation.
https://support.tipsandtricks-hq.com/forums/topic/updating-custom-fields-with-api#post-89592
And as stated by @swdvv18, he was able to manually update the field validation list; which is something you can do as well, assuming that you won’t constantly be changing the list of fields you want to update.
On the other hand, if the “counters” you are asking for are not going to be visible to, or directly used by, the members; you really don’t “need” the addon; if you know how to create/maintain your own MySQL table, that is linked to each member’s user ID number.