tonytan4ever / Bootstrap-Form-Builder-V3V4

A bootstrap 3.0 form drag and drop builder, implemented in Jquery. Based on: https://github.com/minikomi/Bootstrap-Form-Builder
MIT License
74 stars 43 forks source link

Adding custom attribute like custom class to input fields #21

Closed serior closed 5 years ago

serior commented 5 years ago

I want save the form into db and render it with my custom code. Therefore i need for each form element a field into popup, where i can write custom attributes like class etc. Is there a way to do it?

tonytan4ever commented 5 years ago

@serior: You can modify the templates in this location: https://github.com/tonytan4ever/Bootstrap-Form-Builder-V3V4/tree/master/assets/js/templates/snippet By adding your custom class there.

serior commented 5 years ago

It seems to be simple. Thank you.