At first, I had a custom post type with a custom field called 'description' (type = WYSIWYG). That custom post type was originally only edited in the admin.
Now there should be a client login with CRED and the possibility that the client can change that custom post type. The custom field 'description' may not be a WYSIWYG field anymore because the clients surely will make a coloring book of the existing input.
As I can see, it's not possible to change the type of the 'description' custom field anymore.
My question: can I remove the 'description' field as a custom post type and then add it again as a textarea without losing the input that have been done before? Or will I lose all the input?
If I would lose that input: is there another solution for my problem? Should I hide all buttons etc with CSS 'display: none'?
Hello. Thank you for contacting the Toolset support.
With Types, as you know, acknowledged, you can not change the field type.
Now there should be a client login with CRED and the possibility that the client can change that custom post type.
==>
I do not get this. Do you mean that when client will login he is allowed to change the post type of the post he should edit currently?
The custom field 'description' may not be a WYSIWYG field anymore because the clients surely will make a coloring book of the existing input.
==> sorry, I do not get this what you try to say. Do you mean that you do not want client to offer styling options?
My question: can I remove the 'description' field as a custom post type and then add it again as a textarea without losing the input that have been done before? Or will I lose all the input?
==>
Deleting fields will remove them from all groups and delete the field data from the database as well. So if you want that field data should be remain saved, deleting the field is not an option.
Also, you mean that the user will be able to access the WYSIWYG field on the frontend - correct? if this is correct, and if you do not want to delete the field, this applies to form only, then you can change the [cred-field] shortcode that displays your description field within your form to Generic field and try to check if that helps.