Okay
  Public Ticket #2729214
Fixed user table
Closed

Comments

  • Palle started the conversation

    Hi 

    I want a (logged in) user to fill in his data in a predefined table.

    The column and row headers are always the same. The user must only fill in the cells. 

    How do I present an empty table the first time a user visit the table page?

  • [deleted] replied

    Hi Palle

    Thank you for reaching out to us.

    You can link data to specific users with our plugin. To do this the table needs to be editable (so you would need to import the file, to create a manual table), and also you need to have the User ID field in the table. Meaning, if John has user ID = 5, when he logs into your WordPress site, and looks at the table, he'd only see his data if you selected the User ID column as the "User ID column" in the Editing tab above the table. If there's no user ID column, and they aren't logging into WordPress, this will not work.  

    You can enable the Show all rows in back-end option from the Editing tab of the table to see all entries in the back-end. You can also edit the table but if you edit the table as an administrator your User ID will be saved when you make the change so make sure to turn off the Users see and edit only own data option before editing. 

    Do let us know if you need any further assistance.


  • Palle replied

    Thank you Blaženka,

    As you can see on the site  www.12boxmodel.com/status/,  I have linked data to a userid in the frontend. No problem here.

    The problem is to load an empty table with 12 predefined rows and 5 collums the first time the user enters the page. And there after to save the table including the users entries in the cells. And finally to load the table when the user enters again with the users last entries.

    Data are entered and updated in the frontend - not the backend.

    Thanks

    Palle

  • [deleted] replied

    Hi Palle

    If you want to have the first column shown for all users you will have to add user ID number 1 next to each one of them, then copy and paste the same row values below and add user ID number 2 next to them and so on for as many users as you have. 

    6755906560.png


    You can set this column not to be editable by setting Editing to None, and you will have the table like from your example.

    I hope this helps, do let us know if there is anything else we can assist you with. 


  • Palle replied

    Just to confirm...

    If I have 1000 users, you want me to, to create 1000 users and their table by hand? 

  • [deleted] replied

    Yes, unfortunately this is the only way to have the first column always displayed for all users, I really wish I could do more for you but at the moment this is the only solution. There would be one table only the first column would contain same values for different user ID's, you can use the Excel like editor to copy-paste the values so you wouldn't have to add the manually one by one.

  • Palle replied

    That is a pity.

    Could I put a "table template" on your future development road map?

    All the best

    Palle

  • [deleted] replied

    Hi Palle

    Yes, please do leave your suggestion following this link so it would go straight to our developers for consideration.

    If there is anything else I can do please do let me know, I would be happy to help.