How can I theme profile field forms in an HTML table?
I found out why it didn't work. Because my category name was not ASCII characters and it now works after changing them to ASCII characters with the code above.