0
votes

I'm looking for alternatives for the following plug-ins: https://wordpress.org/plugins/gravity-forms-list-field-select-drop-down/ https://wordpress.org/plugins/gravity-forms-list-field-date-picker/

I'd like to create a list with three columns: - First column is drop-down - Second column is date picker - Third column is a regular text box

The above plug-ins were perfect, but they're not available anymore. Would anyone know alternatives or code?

This is what I'd like to make: https://ibb.co/3chNcqY

2

2 Answers

0
votes

Gravity Forms Nested Forms is a robust alternative to the List fields with support for any field type.

https://gravitywiz.com/documentation/gravity-forms-nested-forms/

0
votes

You can add date field in Gravity lists in these steps:

  1. Add a simple date field to form (hidden or shown). It will enquene needed files.
  2. Make your list field in that form.
  3. Add these classes to your date field in thet list: "datepicker ymd_slash".
  4. The style should be added before "datepicker.min.js". So you can't use "$(document).ready" or "jQuery(document).ready".
  5. You can add the style by raw javascript in a file that loaded before "datepicker.min.js".
  6. Content of that raw javascript can be like this:

    var my_list_item = document.getElementsByClassName('gfield_list_52_cell9')[0].children; my_list_item[0].setAttribute('class', 'datepicker ymd_slash'); my_list_item[0].setAttribute('placeholder', '2020/01/01');