jbrinley / wp-forms

An API for creating and processing forms in WordPress
101 stars 10 forks source link

New form element & updated errors decorator #11

Open korobochkin opened 8 years ago

korobochkin commented 8 years ago

Sometimes we need a wrapper for some stuff inside the form (not a <fieldset> tag). For example — Input Groups from Bootrap needs a <div class="input-group"> wrapper. For this I've create Wrapper component. See getbootstrap.com/components/#input-groups-buttons.

Errors decorator Now this decorator can put errors at the bottom of input and also opportunity for change tags and classes.