Some conversions are lossless, others are not. text to textarea should be fine, but always make a backup of your database and your CCTM JSON definition (under its Tools menu).
The reason that some conversions don’t work so well is that some fields use different parameters. Every custom field has a name and a label, but a dropdown field also has options and values, for example, and relation fields have filter criteria. That extra data may be ignore if you were to change a relation field to a WYSIWYG field, for example.
Hope that helps.
Thread Starter
pedjas
(@pedjas)
I was unable to find option to change type?
There’s a button when you edit your custom field: http://www.screencast.com/t/VrfnA8xrda9P
If you don’t see that button, then you need to verify that you are using the most recent version of the CCTM. At this writing, 0.9.7.0.
Thread Starter
pedjas
(@pedjas)
I do not have that button. Plugins list shows version 0.9.7-dev but plugin itself says 0.9.7-pl. This is the latest I could find.
I see on your picture that you have 0.9.7.1-dev
WordPress is also updated.
Hmm… maybe WP bungled the packaging. Try downloading and installing the latest dev version (link on the plugin page). Or completely remove the plugin, delete the files and re-install (please make a backup first).
@pedjas if you want to change field type then follow below steps because i’ve found it and also i’ve need to change custom fields type.. and i have converted successfully text into textarea
1. export your cctm JSON file and
2. open in editor and replace “type”:”text” with “type”:”textarea”
3. paste here wp-content/uploads/cctm/defs your JSON file.
4. go to CCTM > Tools > Import Defination, your JSON file will be shown on page click preview and update it….
Note: be careful to do this and make your backup of your data and before export the replaced file you may delete your old custom fields from CCTM panel.
The functionality is on the dev branch, so you can update to the dev version if you need the GUI to do it, otherwise editing the JSON is viable.