Hi Vijay,
Hmm, I think this may be related to the custom code you’re using for the extra form field. Could you try completing removing that custom code and see if the issue persists?
Cheers,
Eric
Thread Starter
vj2k
(@vj2k)
Hi Eric,
The export works without Custom fields but is there any way we could get the export with custom fields
Vijay
Hi Vijay,
Yes, we should be able to fix that. At least we know where the problem is now 🙂
Could you post your current custom code in a gist at https://gist.github.com?
Cheers,
Eric
Thread Starter
vj2k
(@vj2k)
Hi,
Posted the Custnm Code
add_Swimmer_name_Wp_Charitable.php
add_Batch_Name_WP_Charitable.php
add_Mode-of_Payment_WP_Charitable.php
USerId: vj2k
Vijay
-
This reply was modified 9 years, 1 month ago by
vj2k.
Thread Starter
vj2k
(@vj2k)
Hi Eric,
Any Update on this. If i sort this I can go Live 🙂
Vijay
Hi Vijay,
Sorry for the delay in getting back to you. I just had a look at your code snippets, but you’re missing some functions and have incorrect function names in a few spots. At a glance:
- Missing
ed_donation_get_batch_name function
ed_donation_export_add_swimmer_name_value function should be named ed_donation_export_swimmer_name_value
- You’re not adding the swimmer name column to the export
anywhere. See https://github.com/Charitable/library/blob/master/donation-form/collect-national-id-number.php#L118-L129 for how this should be added.
ed_donation_export_add_batch_name_value function should be named ed_donation_export_batch_name_value
ed_donation_export_add_mode_of_payment_value function should be named ed_donation_export_mode_of_payment_value
Please enable debugging on your site (https://codex.wordpress.org/Debugging_in_WordPress) to check for any other issues.
Cheers,
Eric