Problem with different access level in one form

jfquestiaux

Well-Known Member
I have a contact form with the "basic" field (name, phone, message,...) set with "Public access" level for "editable".

Then I have another set of fields (status, comments,...) in another group (but the problem is the same if they are in the first group) that I want to be completed by the responsible of the treatment of the contacts request.
So these are set to "Access responsible" for editable and "viewable".

With this setting, each time a record is created, the "Access responsible" fields are recorded three time in the database (screenshot - first three rows, stating at "status_contact").
If I set a record (fourth row - "status_contact") as "editable - Public Access", the data is recorded corectly (but of course it shows in form for the public, which I don't want).

This is happening with dropdown, field, texarea element.
User (handled_by) and Date (handled_on) elements seems to work fine.

GitHub 339.
 
I fixed some issues with the encryption code today, it may be worth quickly updating to see if it fixes this.
 
Silly me!
I forgot the attachment and in the meantime, I deleted it.

So here is another one, just showing what I meant by "recorded three times".

And this is done on the latest git (345), so Rob's changes have not affected this except that now it is only recorded two times!
 

Attachments

  • screenshot.png
    screenshot.png
    35.5 KB · Views: 200
I could replicate this one and I believe I have added a fix for it in github
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top