该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Gravity Slider Fields

描述

Gravity Forms does not yet support slider fields. Until that time, this plugin may serve the purpose well.

The plugin adds a new slider field within the advanced field group. Customize your slider with the following set of options.

Supported Options

Native to Gravity Forms

  • field label
  • description
  • number format
  • range
  • handle connects
  • field label visibility
  • description placement
  • custom css class
  • field size
  • admin field label
  • default value
  • visibility
  • allow field to be populated dynamically
  • enable conditional logic

Custom

  • value relations (descriptive terms that relate to min & max number values of slider)
  • step (precision of values that can selected along the slider)
  • show value (select whether to hide, show on hover & drag, or always shows the currently selected value)

If value relations have been defined, they will be displayed along with the field label in form entry details and when using merge tags.

Credits

In order to play nice with touch devices, Gravity Slider Fields utilizes noUiSlider (developed by Léon Gersen)

屏幕截图

  • Rendered sliders
  • Slider field selection
  • Custom slider options

安装

  1. Upload the gravity-slider-fields directory to /wp-content/plugins/
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

Does this plugin rely on anything?

Yes. You must install Gravity Forms for this plugin to work.

评价

2020年10月30日
This looks and appears nicely on Gravity Forms. However, I have calculated fields and it's only taking the default value I've set and not the updated value. My confirmation message repeats the slider value... and it's not the actual slider value it's the default.
2021年12月7日
This has been a timely solution to be able to capture user data through a slider field. Almost all options are customizable, although I had to edit the css file in order to change the fill color of the field. Update:december 2021: This plugin worked fine until Wordpress stopped supporting old versions of jquery. From then on, I am experiencing problems with the plugins. This plugin was apparently abandoned by its author. Too bad, since it was great!
2019年12月20日
Does what it says it should. A bit confusing to use at first but once you get over the learning curb it's great. More Docs would be awesome!
阅读所有14条评价

贡献者及开发者

“Gravity Slider Fields” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“Gravity Slider Fields”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.9

📦 NEW: Use sliders in conditional logic
👌 IMPROVE: Performance when triggering change
👌 IMPROVE: Disable delayed admin notice
👌 IMPROVE: Use emoji-log for changelog

1.8

🐛 FIX: Properly handle connect option for existing slider fields

1.7

📦 NEW: Allow connecting handle to lower or upper edge

1.6

👌 IMPROVE: Remove call to deprecated GF_Field::get_conditional_logic_event

1.5

👌 IMPROVE: Update noUiSlider to 13.1.4
📦 NEW: Add calculation merge tags
🐛 FIX: Hover-drag issue
🐛 FIX: Tab focus issue
🐛 FIX: error: Slider was already initialized

1.4

👌 IMPROVE: Delay the notice

1.3

🐛 FIX: Better fix

1.2

🐛 FIX: jQuery error in loading noUiSlider
📦 NEW: Add delayed & dismissible admin notice

1.1

📦 NEW: The slider merge tag can now be used in calculations

1.0

👌 IMPROVE: Rewrite codebase to use GFAddOn

0.9

👌 IMPROVE: Play nicer with Gravity Forms
👌 IMPROVE: Update noUiSlider version

0.8

📦 NEW: Add rendering of field in form editor

0.7

📦 NEW: Add class existence check for GF_Fields

0.6

📖 DOC: Add cautionary note in the readme.

0.5

🐛 FIX: Slider failure in certain instance

0.4

🚀 RELEASE: Initial