6 years ago
7
Topic

Please on i have a seblod form on my website which i used to collect data from my clients and time to time i change the input of the form after its been filled by the client.. i want the client to be able to view the form details from the front-end where he cannot be able to edit it only view it.. That is for every user that logs in they can see a menu button "my account" which should link them to a single page containing the details filled in their individual forms. 

thank you

Get a VIP membership
4229 Posts
Kadministrator
6 years ago
6
Level 1

Basically you want to show content view of your form&content type. 

6 years ago
5
Level 2

Yes exactly for each user.. I know how to show my form  content in content view and grant access to different user levels but this time I want user A to b able to only view what he filled in the form he submitted and User B to b able to view what her filled in the form he submitted.. almost like an account information for different users

4229 Posts
Kadministrator
6 years ago
4
Level 3

You can save this data to user content type, this way it will be part of profile. 

For custom content type create search&list type that will search articles by "article created by" with live value set to user->id and with Autoredirection set to Content. 

6 years ago
3
Level 4

Thanks klas I really appreciate your help. I did as you said saved my data to user content and now on the new creating new users I see my custom fields.

I also created a list&search type and set it to search based on user live value and on my item view selected the contents to show. It worked but now it shows data of those fields for all users.. that is if I search user a I get results like:

G.Points 12

H.Points 13

G.points 15

H.points 16

Now this results showing are results for the 2 users currently registered instead of showing the results of the the current logged on user.

4229 Posts
Kadministrator
6 years ago
2
Level 5

If you use user object to save your data searching by article author won't work, you need to search by User Id field (with he same live value - User->id)

6 years ago
1
Level 6

Yes thats what I did and it is doing that as I stated above.. if I used art_id it won't bring any results..  

4229 Posts
Kadministrator
6 years ago
0
Level 7

Hi,

enable debugging in the list configuration to see what query is beeing used, there are a lot of possibilites why this doesn't work (e.g. matching needs to be set ot exact or live value is not configured correctly etc.) - easiest to see is to check the query produced by the search.

Get a VIP membership