Each user associated table has a column defined for the user called user_id
For Column settings user_id
Column Settings, EDITING
Editor input type
Options
none
Single-value selectbox (selected option)
Column cannot be empty
Cannot be empty selected option
Predefined value(s)
Dropdown List showing current user number and null
I should like to default the above value to the placeholder variable %CURRENT_USER_ID%, but I cannot add this to predefined values as this is a dropdown list
Yes because you use it with columns that have foreign key because editor input type have to be Single value select-box and placeholders you can use as Predefined values only for string column types.
Hi
Each user associated table has a column defined for the user called user_id
For Column settings user_id
Column Settings, EDITING
Editor input type
Options
none
Single-value selectbox (selected option)
Column cannot be empty
Cannot be empty selected option
Predefined value(s)
Dropdown List showing current user number and null
I should like to default the above value to the placeholder variable %CURRENT_USER_ID%, but I cannot add this to predefined values as this is a dropdown list
Any help appreciated.
Best Regards
Colin
Hi Colin,
You can use placeholders like Predefined value if option Editor input type is set to One-line edit.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Hi cpshart,
Yes because you use it with columns that have foreign key because editor input type have to be Single value select-box and placeholders you can use as Predefined values only for string column types.
You can take a look in our documentation about Creating Editable Tables in WordPress where users can see and edit only their own data.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Hi cpshart,
Sorry for late response.
We are located in Serbia and our working time is from 10:00 to 17:00 CET. business days.
Unfortunately at the moment is not possible to use Users see and edit only own data based on the specific column.
Best regards.
Kind Regards,
Isidora Markovic
wpDataTables: FAQ | Facebook | Twitter | Front-end and back-end demo | Docs
Amelia: FAQ | Facebook | Twitter | Amelia demo sites | Docs
You can try our wpDataTables add-ons before purchase on these sandbox sites:
Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables
Hi Milan
Thanks for the response, no problems very pleased with your support.
Best Regards
Colin