I did this back in the day. I would expect it still work.
YMMV
Modifying an existing UDF to use a UDT for validation in V4.X
1) Create test UDF that uses the UDT.
2) Make copy of ...\mas_system\cm_udf.m4t
2) Using DFDM, open ...\mas_system\cm_udf.m4t.
3) Print the listing of UDF's
4) Locate the current UDF and the test one created above.
5) Make note of the differences in fields. I noted fields 6, 16, 17, 18, and 19.
6) Change the original UDF record to match the test UDF.
7) Return to customizer to review original UDF settings.
8) Test original UDF on a panel.
9) Delete test udf and copy of cm_udf.m4t if satisfied.
Jeff Schwenk 3/9/08
------------------------------
Jeff Schwenk
Bottomline Software, Inc.
(540) 221-4444
------------------------------