I have made a user registration table form using formidable pro.
The form stores a unique user ID along with some other information such as Name, Email and so ..
I have also made a form view in Formidable which can display the contents of the User Registration form for the current logged-in user by using this filter: (User_ID is equal to current_user).
Now I want to make a TMS table that does the same. I have allready made a TMS table that displays the entries of all registered users, but I do not know how to filter the table so that it displays only the entries of the current logged in user. I want to use this feature in this way that when a user visits user profile page, he/she can see the entries he/she has entered to the registration form before and edit them if needed.
For the same registration form mentioned above, I want to make TMS table which lists all user IDs (as a list) in the fist column. And when I click each user ID a new table opens which displays the rest of entries related to that particular user ID. As mentioned I have already made a table that displays all entries of all users created by the Registration Form, but I do not know how to add this feature to it.
If you have an integer column, which you should since you set it to be User ID, then you need to change the filter type for that column to "Text", and add the %CURRENT_USER_ID% placeholder as a predefined value (see attachment). This way, the table will automatically be filtered using this predefined value. To avoid having users simply change the filter value and see everything, my advice would be to hide that column from view.
For the second inquiry, I'm sorry to disappoint you, but unfortunately something like this is not possible, simply because the tables created from Formidable forms are not editable. Unfortunately, the grouping option is available only for non-server-side tables, and Formidable tables are reading the information straight from the database.
Maybe you can set up the form so it gets the ID dynamically, and then assign a specific URL before it appends the user ID to it, and leads you to the user's ID page. I haven't done this, so I cannot say if it works this way, though.
Hi
1. inquiry
I have made a user registration table form using formidable pro.
The form stores a unique user ID along with some other information such as Name, Email and so ..
I have also made a form view in Formidable which can display the contents of the User Registration form for the current logged-in user by using this filter: (User_ID is equal to current_user).
Now I want to make a TMS table that does the same. I have allready made a TMS table that displays the entries of all registered users, but I do not know how to filter the table so that it displays only the entries of the current logged in user. I want to use this feature in this way that when a user visits user profile page, he/she can see the entries he/she has entered to the registration form before and edit them if needed.
---------------------------------------------------------------------------------------------------------------
2. inquiry
For the same registration form mentioned above, I want to make TMS table which lists all user IDs (as a list) in the fist column. And when I click each user ID a new table opens which displays the rest of entries related to that particular user ID. As mentioned I have already made a table that displays all entries of all users created by the Registration Form, but I do not know how to add this feature to it.
With regards
Hello Said.
Thank you for your purchase.
If you have an integer column, which you should since you set it to be User ID, then you need to change the filter type for that column to "Text", and add the %CURRENT_USER_ID% placeholder as a predefined value (see attachment). This way, the table will automatically be filtered using this predefined value. To avoid having users simply change the filter value and see everything, my advice would be to hide that column from view.
For the second inquiry, I'm sorry to disappoint you, but unfortunately something like this is not possible, simply because the tables created from Formidable forms are not editable. Unfortunately, the grouping option is available only for non-server-side tables, and Formidable tables are reading the information straight from the database.
Maybe you can set up the form so it gets the ID dynamically, and then assign a specific URL before it appends the user ID to it, and leads you to the user's ID page. I haven't done this, so I cannot say if it works this way, though.
Best regards.
Kind Regards,
Aleksandar Vuković
[email protected]
Rate my support
wpDataTables: FAQ | Facebook | Twitter | Instagram | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Instagram | Amelia demo sites | Docs | Discord Community
You can try wpDataTables add-ons before purchasing on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables