new method dataToForm

not suitable for any forms