Unfortunately, technical limitations don’t allow you to change the type of a datafield after it has already been created. The best way to do this is to delete the datafield, then recreate it as the proper type.
Taking a consultant’s company number as an example, let’s say you click the “number” datafield type here.
To undo your mistake, click on the #consultant hyperlink at the bottom of your edit menu as portrayed below:
The new tab that pops up allows you to edit the concept. Navigate to the datafield menu on the right-hand side of the screen, select the datafield “company-number” and click the bin icon:
If you then navigate back to the clause you were editing originally, you will see that the datafield is again unrecognised by ClauseBase, allowing you to recreate it as you see fit: