avidkayaker908
Forum Replies Created
-
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Disable Fields not savingThanks Doeke, works great!
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Disable Fields not savingDoeke,
can I add more than one form id and field id in this code to replace the label? maybe an array or make it global?add_filter('gfexcel_field_label', function($label, GF_Field $field) { if ($field->formId === 3 && $field->id === 25) { return 'course1'; } return $label; }, 10, 2);
Kind Regards
DeLoy WilkinsForum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Disable Fields not savingThanks so much Doeke,
New version works perfectly! kudo’s and am really looking forward to implementing.Kind Regards
DeLoy WilkinsForum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Disable Fields not savingThank you so much! Worked like a charm.
I signed up for the PRO notification. Such a useful plug-in.
Thanks for your time
Now onto a great review!Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Disable Fields not savingThanks for the reply Doeke,
I tried placing that code and get an errorError message: Uncaught ArgumentCountError: Too few arguments to function {closure}(), 1 passed in /home/easycdlonline/public_html/forms/wp-includes/class-wp-hook.php on line 294 and exactly 2 expected in /home/easycdlonline/public_html/forms/wp-includes/functions.php:7869 Stack trace: #0 /home/easycdlonline/public_html/forms/wp-includes/class-wp-hook.php(294): {closure}(false) #1 /home/easycdlonline/public_html/forms/wp-includes/plugin.php(212): WP_Hook->apply_filters(false, Array) #2 /home/easycdlonline/public_html/forms/wp-content/plugins/gravityforms/gravityforms.php(6563): apply_filters('gfexcel_field_d...', false, Object(GF_Field_HTML), NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL) #3 /home/easycdlonline/public_html/forms/wp-content/plugins/gf-entries-in-excel/src/Repository/FieldsRepository.php(132): gf_apply_filters('gfexcel_field_d...', false, Object(GF_Field_HTML)) #4 [internal function]: GFExcel\Repository\FieldsRepository::GFExcel\Repository\{closure}(Object(GF_Field_HTML)) #5 /home/easycdlonline/public_
Here is the code I am using form # is 3 and one field to hide is field ID 1
add_filter('gfexcel_field_disable', function (bool $disabled, \GF_Field $field) { if ($field->formId == 3 && $field->id == 1){ return true; } return $disabled; });
any thoughts? and can I use an array to hide several fields?
Thank You
DeLoy WilkinsForum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Disable Fields not savingHello,
Since I cannot get the fields to save. Can you suggest a bit of code to hide said fields?
I used the code from your direction to hide the meta fields already.
I have some experience so just the code where I can put in my fields would be great.Thank you for your time!
DeLoy Wilkins
Forum: Plugins
In reply to: [GravityExport Lite for Gravity Forms] Disable Fields not savingThank you very much for the quick feedback. Unfortunately that fix did not work. I disabled all plugins except the gravity forms and the?Entries in excel plugin and still cannot save the settings.
On the other note the code to change labels worked perfectly!!
I can send a json of my form if you would like as well as a list of plugins. most are part of my gravity perks paid for package.
Regards
DeLoy Wilkins- This reply was modified 3 years, 6 months ago by avidkayaker908.