added getFormDataType()
add buttons to config
dynamic buttons