|Posted: Friday Aug 2nd, 2013 at 3:02 pm #54782|
Is there a way to update the value of a s2member custom field? Here is my scenario:
I’m trying to run an election for our members organization. I have a custom fields that indicates if they have cast their vote already or not (0 or 1). At the beginning of the election, everyone’s flag will be set to “0”.
When they go to the voting page, they will see a blank ballot if their flag is set to “0”, or a message that says they’ve already voted if the flag is a “1”.
If they haven’t voted, they do so by submitting a form. At this point, I want to rewrite their custom field to be a “1” instead of a “0”.
How do I do this? Thanks!
- s2Member® Products