Hi,
I want to give the possibility to logged users to mark the elements of a custom post type as 'done' or 'undone'.
Is it possible with toolset?
I would like it to shown as on the screen I uploaded (undone and done buttons), but with the possibility to filter the elements based on users mark.
'Done' elements will be visible on a view, 'Undone' in another one.
I hope you understood my request.
Thanks,
Tommaso
Hello,
I suggest you try these:
1) Create a custom radio field "post-status", with two options: "Done" and "Undone"
2) setup two different Toolset form for editing the posts, both forms display only the submit button.
3) First post form, display the submit button text as "Done", setup the default value of field "post-status" to option "Done", see our document:
https://toolset.com/documentation/user-guides/cred-shortcodes/#cred_field
value. Optional. Preset value
And use CSS codes to hide the radio field "post-status" .
4) Second post form, display the submit button text as "Undone", setup the default value of field "post-status" to option "Undone"
Then user will be able to submit the forms, and change the field "post-status" value.
You will be able to setup a view, filter by the field value.