Skip to content

Releases: oomphinc/WP-Forms-API

Update PHP dependency to support 7

07 Mar 17:15
Compare
Choose a tag to compare

Note: not fully tested on PHP7.

Updates to checkbox and image fields

13 Sep 21:03
Compare
Choose a tag to compare

Updates checkbox handling to properly clear when unset and submitted.

Updates image fields to properly clear via X link and proper submission of name.

Ensure media assets are enqueued

08 Mar 18:16
Compare
Choose a tag to compare

This makes sure element types that use the media manager (attachment and image) will work on pages where media manager scripts/styles are not normally enqueued by default.

More flexible conditional element handling using CSS class toggling

17 Feb 20:10
Compare
Choose a tag to compare

The #conditional property has been expanded to allow multiple values and multiple selectors for target elements, each mapping to a class. The older format of [ 'element' => '.selector', 'action' => 'hide', 'value' => 'value' ] will still work for backwards compatibility, but the new format allows for much more flexibility by toggling classes on target element(s) based on the field's value.

'#conditional' => [ 'element value' => [ 'target selector' => 'class to add' ] ],

The classes you define can manipulate the fields in any way: showing, hiding, or any other CSS manipulations. To use the new format and simply show or hide fields, you can use the preexisting classes wp-form-conditional-show or wp-form-conditional-hide.

WP-Forms-API first stable release, now with composer!

11 Feb 20:42
Compare
Choose a tag to compare
Merge pull request #27 from oomphinc/balbuf/composerify

Composerify the repo