Hi @ac4320
You can also use granite type , however granite type are not available by drag and drop. You need to add those type similar to dialog.
You can also also clientlibs within form for validation.
e.g.
<clientlibs
jcr:primaryType="nt:unstructured"
...