[SOLVED]FEU User Properties - amending them?
Posted: Wed Oct 29, 2014 11:33 am
Hi
I have a slight problem I am trying to overcome. I have to create an on-line voting form for recording votes from Members for proposed candidates to a charitable organisations committee. The Members will have to log-in to get to ther Protected Content pages to cast their votes. There will be a list of names and the Members can vote for a maximum number of those names (but not all of them). One of the things I am trying to implement is a method of preventing Members voting more than once!
Using CMS 1.11.9 (I know - I need to update it!) and FEU 1.8.6, FormBuilder 0.7.4, CustomContent 1.9.
I added a new property within FEU for each user called 'vote' as a check box and set to 'Null' when created.
Now what I am trying to do is to update the users 'vote' property to '1' after they press Submit in the voting form created in FormBuilder. I should then be able to check for that property in the web page template and tell them to 'go away - you have already voted' type of message.
I've looked in the Help files for FEU and there are lots of references to reading the value of users FEU properties but nothing about writing to FEU properties, if in fact it can be done. I've tried various options to write but they were long shots that didn't work.
So, the question - is there a way to amend the value in a user's property in FEU from a script or have I gone about this problem the wrong way??
Any pointers/guidance would be much appreciated.
Mike
UK based
I have a slight problem I am trying to overcome. I have to create an on-line voting form for recording votes from Members for proposed candidates to a charitable organisations committee. The Members will have to log-in to get to ther Protected Content pages to cast their votes. There will be a list of names and the Members can vote for a maximum number of those names (but not all of them). One of the things I am trying to implement is a method of preventing Members voting more than once!
Using CMS 1.11.9 (I know - I need to update it!) and FEU 1.8.6, FormBuilder 0.7.4, CustomContent 1.9.
I added a new property within FEU for each user called 'vote' as a check box and set to 'Null' when created.
Now what I am trying to do is to update the users 'vote' property to '1' after they press Submit in the voting form created in FormBuilder. I should then be able to check for that property in the web page template and tell them to 'go away - you have already voted' type of message.

I've looked in the Help files for FEU and there are lots of references to reading the value of users FEU properties but nothing about writing to FEU properties, if in fact it can be done. I've tried various options to write but they were long shots that didn't work.

So, the question - is there a way to amend the value in a user's property in FEU from a script or have I gone about this problem the wrong way??
Any pointers/guidance would be much appreciated.
Mike
UK based