Excel – WordPress Gear https://wpgear.xyz/en Do better! Thu, 09 Apr 2026 17:01:15 +0000 en-US hourly 1 https://wordpress.org/?v=5.1.16_CS_Edition https://wpgear.xyz/wp-content/uploads/2016/06/cropped-gear-green-512-1-32x32.png Excel – WordPress Gear https://wpgear.xyz/en 32 32 Import Excel to Gravity Forms https://wpgear.xyz/en/import-excel-to-gravity-forms/ https://wpgear.xyz/en/import-excel-to-gravity-forms/#comments Thu, 15 Jul 2021 14:58:20 +0000 https://wpgear.xyz/?p=1382 Continue reading "Import Excel to Gravity Forms"]]>
Bulk Import of Records from Excel (CSV) files for “Gravity Forms” with Validation and Internal Logic support.

If you have a Form in which there are Calculated Fields based on the Values of other Fields and the need for bulk import of source data, then this Plugin will definitely be useful to you.

For example. Form Type Calculator:

  • Field id=2 “A“: Term 1.
  • Field id=3 “B“: Term 2.
  • Field id=5 “Ratio“: Coefficient.
  • Field “Calc“: C = (A + B) * Ratio

When Importing Records, you usually need to prepare all the Values of all Fields:
A; B; Ratio; C.
So, to carry out preliminary calculations.

Difficulties begin when branched Inner Logic is used. When there are various additional Fields for selecting conditions in the form of Lists, Options. (“Gravity Forms” allows you to use both built-in Internal Logic in each of the Fields, and connect JS Scripts with Scripts.)
Transferring JS Scripts with Scripts to an Excel-prepared Table can be quite a difficult task. Errors are almost inevitable. Moreover, it is necessary to carefully maintain the correspondence of the calculated formulas in the Table with the Form Algorithms. And if you have changed something in the algorithms of the Form, then you again need to change and then test the Formulas in the Table. Even writing about it is tiresome.

Moreover, some Field Values may have both Value and Format Constraints. In normal cases, import without checking such Restrictions may lead to an abnormal termination of the Import process, or to incorrectly filled Fields.
In any case, manual correction of Records after such an Import can be costly and resource intensive.

It is for such Tasks that this Plugin is needed: “Import Excel to Gravity Forms“.

It is enough to fill in only the Initial Fields.

In our Example – Fields: A B and Ratio.
Calculated Field “C” will be calculated in each imported Record by the internal Form algorithms and will be saved.

If some of the Values are out of range, then such a Record will not be saved and will require correction directly during the Import process.

= Features =
* Works with PHP 7.4
* Works with Gravity Forms versions 2.3.3.4 (earlier GF versions were simply not tested. Probably will work) and higher. Tested up to 2.5.7.1
* Import entries are lines of a text file (usually CSV) separated by commas.
* You can choose any other separator.
* You can navigate through the list of imported records and save only a few of them.
* Each record is checked for compatibility of field formats before saving.
* If the Form Fields have internal logic, then each record is processed with this logic in mind before being saved.
* All types of fields are imported: “Text”, “TextArea”, “Number”, “Date”, “Select”, “MultiSelect”,  “Radio”, “CheckBox”.
* Works correctly with Cyrillic and other National character encodings.
* Each Form has its own “Import Enable” option.
* Works correctly when there are several other GForms on the page.
* Possibility to choose encoding of CSV file: ‘utf-8’ – default; ‘ISO-8859-1’; ‘CP1251’; etc…

== Demo ==

  1. Download CSV File with Sample Records for Import.
    there are 3 lines in the file:

    1. 1;2;3;5
    2. Alpha;2;3;1
    3. Omega;4;5;3
  2. The first line is the ID of the Fields in the Form.
    Accordingly Fields: “Project Name”; “Number A”; “Number B”; “Ratio”;
  3. The second and following lines are Field Values in the same order as ID.
  4. In this example, the symbol is used as a separator “;”
  5. Replace the Second and following lines with your Data. (use the Editor type: “Notepad ++” to ensure that the file encoding does not change. UTF-8 without BOM)
  6. Save CSV File.
  7. Click the “Excel Import” button on the Form.
  8. Click the “Upload CSV file” button and select the CSV File you saved.
  9. The first Record from the file will fill in the Form Fields. The “Submit” Form button will be disabled.
  10. If everything is OK, click the “Save” button.
  11. The next Record will be loaded automatically.

Test "Import Excel to Gravity Forms"

  • Auto Calc. (A+B) * Ratio

Current version: 3.20 (2024.12.23) can be downloaded from this site.

Download “gf-excel-import.zip” gf-excel-import_v3.20.zip – Downloaded 790 times – 26 KB

Or from the Official WordPress Repository

== Installation ==

Normal automatic installation.

* The Plug-in comes with an example of a ready-made GF Form (samle-gf-form.csv) and a CSV file for importing into it (sample-csv-data-import.csv) in the “sample” Directory. You can import the real GForm and test the example.

== PRO Version ==

PRO Version Features:

  1. Ability to select data type (Name / Value) for Fields: “Select”, “MultiSelect”, “Radio”, “CheckBox”.
  2. Generation of a Template for easy filling of the Import Table. Template – Excel file in XLSX format. You just fill in the Table in the way you are accustomed to, and then save it in CSV format.
  3. The Template contains: Field IDs, Fields Name, Type and Prompts for input.
  4. Input Prompts contain all Valid Variants for a given Field, given the selected data type (Name / Value).

== FAQ ==
N/A

== Screenshots ==

1. Page with fields “Gravity Forms” and active option “GF Excel-Import”.
2. Interface “GF Excel-Import”. Step 1. Download CSV file button.
3. Interface “GF Excel-Import”. Step 2. Select CSV file.
4. Interface “GF Excel-Import”. Step 3. Processing records. Navigation. Preservation.
5. “Import Excel to Gravity Forms”. Settings page.
6. Settings page “Gravity Forms” with plugin “Import Excel to Gravity Forms” activated.

]]>
https://wpgear.xyz/en/import-excel-to-gravity-forms/feed/ 3
GV Excel-Export https://wpgear.xyz/en/gv-excel-export/ Tue, 09 Feb 2021 15:01:09 +0000 https://wpgear.xyz/?p=716 Continue reading "GV Excel-Export"]]> Make realy comfortable, complete export to normal Excel files from GravityView.

GravityView (whatever my attitude towards him) popular tool. But the built-in Export allows to generate only CSV files. For many, this is inconvenient and insufficient, because tedious post-processing of such files is required. The presence of the Cyrillic alphabet in the name of the fields can greatly spoil the mood and desire to do something.

This Plugin is designed to solve this problem.

Version: 3.5 (2025.01.02) You can download it from here

Download “gv-excel-export.zip” gv-excel-export_v3.5.zip – Downloaded 717 times – 1 MB

Or from the Official WordPress Repository

Features:

  • Works with WordPress 6.7.1 (PHP 7.4) Ext.lib phpExcel_7.4.3.1
  • Works with GravityView forms versions 2.0 and higher. Tested up to 2.32
  • Tested with Gravity Forms up to 2.9.1
  • Allows search selection results.
  • Allows filters selection results from “Advanced Filter Extension” plugin.
  • Allows “Override Date Format” options for fields type Date.
  • Handles Cyrillic correctly.
  • Each export file name has a time stamp, username and GV form or page title.

Real Demo:
* click to Excel icon
* set the needful Date Range!

Entry IDEntry DateАААДатаUserUser IP
228.01.2021запись 22021.01.28CS8.8.8.8
110.01.2021запись 12021.01.10CS4.4.4.4
Entry IDEntry DateАААДатаUserUser IP

* Pro version have extended features:

  • Option “Administrator privileges” for each GV Form. Allows to select All Records if the User is an Administrator.
  • Widget “Excel-Export Button”. In the general list of available GV Widgets. Allows you to add a “Excel-Export” Button in one click to widgets block, no need to enter Shortcod.
  • Settings of each Fields have Option “Alternative Name for Excel”. If you specify something in it, then this is the name of the column in the exported table
  • Manage selection for each Fields: “View on Frontend and/ore include Excel”.

== Installation ==

    Automatic installation:

    1. Log into your WordPress as Admin.
    1. Click “Plugins”
    1. Click “Add New”
    1. Search for “GV Excel-Export”
    1. Click “Install Now” under “GV Excel-Export”.
    1. Activate the plugin through the ‘Plugins’ menu in Admin page.
    1. Add “Custom content” widget on GravityView form and place shortcode ‘gvxl_button_excelexport’
    Manual installation:

    1. Download the plugin.
    1. Extract the contents of the zip file.
    1. Upload ‘gv-excel-export’ folder to the ‘/wp-content/plugins/’ directory.
    1. Activate the plugin through the ‘Plugins’ menu in Admin page.
    1. Add “Custom content” widget on GravityView form and place shortcode ‘gvxl_button_excelexport’

== Frequently Asked Questions ==
What are the settings for the “GV Excel-Export”?
1. Main option: Enable/Disable – on the Settings page GV. Default: Enabled.
2. Local option: Enable/Disable – on the each GV Forms (Sidebar widgets). Default: Enabled.

Format of Date fields in Excel tables differs from the format accepted in GV (PHP style). How can you change it?
Each Date field has an option “Override Date Format”. Use GV (PHP style) notation. These formats will be automatically converted to the correct Excel formats.

How do I export all records?
To export all records, you can leave the “Date from” & “Date to” fields blank. It should be understood that too large amounts of data can consume large resources of your server.

== Screenshots ==

== Changelog ==

= 1.0 2021.02.04 =
* Initial release.

]]>