wp-forms icon indicating copy to clipboard operation
wp-forms copied to clipboard

An API for creating and processing forms in WordPress

Results 8 wp-forms issues
Sort by recently updated
recently updated
newest added

This is probably not a real issue for wp-forms but I just lost an hour resolving the following bug and I just wanted to document it somewhere. In my form,...

Sometimes we need a wrapper for some stuff inside the form (not a `` tag). For example — Input Groups from Bootrap needs a `` wrapper. For this I've create...

Do `esc_textarea()` for `` content. ``` $value = esc_textarea( $attributes['value'] ); ```

I can create a checkbox group like so: ``` $checkboxes = WP_Form_Element::create( 'checkboxes' ) ->set_name( 'interests' ) ->set_label( 'Interests' ) ->add_option( 'something,'Something' ) ->add_option( 'something_else', Something else' ); ``` Cool....

Hey, I've a simple form with three radio elements. My issue is that if validation fails on any of the elements in the form, the state of the radio elements...

Allow either an array of values or a single value to be passed to WP_Form_Element::set_default_value to set a 'checked' state for the checkboxes form element.

Hey, I've been looking at this code trying to understand how i can tell the $element type within my filter method implementation. Instead of applying a callback here I think...

One should be able to create a paginated form, with each page's fields possibly dependent on values submitted on previous pages.