203 Posts
louispapera
8 years ago
9
Topic

Hello Sebloders, I have to create a form where 4 users will register data. 

Is it possible for each user to enter only their own data and see only the data of the other ?

Thanks for your kind reply. Louis

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
8
Level 1

If by "seee data" you had search list in mind you can use article author field and set matching to NOT and live value to user->id.

203 Posts
louispapera
8 years ago
7
Level 2

Thanks for your response Klas. Maybe I explained wrong, I have 4 users must update the same form. Example: the first user enters 10 fields, the second user sees only input fields (without being able to upgrade), and in turn enter other three fields ..... and so on for other users. I hope I was clear.

Have you any suggestions? Thanks for the answers. Sincerely, Louis

4229 Posts
Kadministrator
8 years ago
6
Level 3

So you need this restriction plugin used in Reverse mode, so that field will be shown when id is not xxx

http://www.seblod.com/store/extensions/27438

203 Posts
louispapera
8 years ago
4
Level 4

Hi Klas, thanks for your suggestions. With this plugin I can hide o show fields about users.

But I need, for any user, a way that they could see all fields but write or update some fields only. 

i.e.: form fields: field1, field2, field3, field4, field5, field6, field7......

users and fields for writing or updatind:

user1: field1 and field7 only

user2: field2 and field5.... only, and so on

Your reply will be well accepted, thanks. Louis

4229 Posts
Kadministrator
8 years ago
3
Level 5

If you would like to have conditional variation on the field so that some fields are Readonly depending on the user or usergroup, I'm afraid this is not possible directly, but - you can create 2 instances of each field with the same storage, one with normal variation and other with readonly. Then you can use this plugins

http://www.seblod.com/store/extensions/10872

to show or hide each version of the field according to the users edit rights (e.g. show form version and hide readonly version when user has edit.own permisision).

203 Posts
louispapera
8 years ago
1
Level 6

Many thanks Klas for your reply, I 'll be ready to try this suggestion.

Before, I need further help. 

If I use first solutions, create 2 fields with same storage..... but I have 4 users, how I do to permit them to show all data and update their data only ?

Have I use conditional states ? Awaiting....

Regards, Louis

4229 Posts
Kadministrator
8 years ago
0
Level 7

If you need to restrict by user then you can use http://www.seblod.com/store/extensions/27438 in combination with above described 2 variations for each field.

203 Posts
louispapera
8 years ago
0
Level 6

I Klas, I followed your suggestions, I bought "Joomla! ACL Pack" and I solve my problem.

Many Thanks, Louis

203 Posts
louispapera
8 years ago
0
Level 4

Hi Klas, I have seen that I can solve my problem with conditional states. But I need a further help....... That is...

I can enabled a field if "article created by" is equal "login name", but form should be used from 4 user with 4 different login name.

Clearly "article created by" do not good. 

What is the system field that identifies "login user", so I can do just conditional state ?

Thank you Klas for your further help.

Louis

Get a Book for SEBLOD