Title: delete fields does not work?
Last modified: August 30, 2016

---

# delete fields does not work?

 *  [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/)
 * Hi Xnau,
    I tried to delete some fields (both standard fields and fields that
   I created myself), but the keep appearing. I tried both in a website that is 
   already online and in a website that I’m using offline (with Xampp) to test plugins.
   In the last case I changed the theme and turned off all plugins but PD, but that
   had no effect. In both cases, there are no records yet.
 * I found a solution in an old thread about this problem: [https://wordpress.org/support/topic/plugin-participants-database-the-delete-function-on-main-fields-page-doesnt-seem-to-work](https://wordpress.org/support/topic/plugin-participants-database-the-delete-function-on-main-fields-page-doesnt-seem-to-work).
 * I wondered if this is still the way to resolve the problem, because you announced
   this would be resolved in an update, but I cannnot find it in the changelog.
 * [https://wordpress.org/plugins/participants-database/](https://wordpress.org/plugins/participants-database/)

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/delete-fields-does-not-work/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/delete-fields-does-not-work/page/2/?output_format=md)

 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477125)
 * I attempted to make the javascript better targeted so that other scripts would
   be less likely to interfere, but there’s no way to prevent another script from
   causing problems.
 * Identifying the script that is causing the problem is helpful, sometimes there
   is a way to get around the problem with that knowledge.
 *  Thread Starter [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477149)
 * Hi Xnau,
    thanks for your quick reaction. I’m not a developer at all, so I’ll
   first have to find out how to identify the script. I will have to do that later
   on.
 * In the meantime, I tried another relatively clean local WordPress install, not
   updated to WordPress 4.3 yet, standard theme, no plugins activated, but the problem
   persists.
    By the way, don’t know if this helps: when clicking the red x, the
   field seems to be removed, but after adding a new field and updating, the removed
   field shows up again. There is no warning about unsaved changes.
 * Probably a very stupid question, because I don’t see any logic here, but could
   it have anything to do with the Dutch translation? The popup question when removing
   the field is
    Verwijder het “{naam}” {ding}?
 * translated back in Englisch that would be:
    Remove the “{name}” {thing}?
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477234)
 * Yes, there was a bug in the translation that has been fixed. It was causing just
   this problem. Are you using the latest version of the plugin?
 *  Thread Starter [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477235)
 * Yes, I only installed the plugin yesterday (although it has been on my wishlist
   for some months, I’m really impressed and love to get it working).
 *  [ayarsava](https://wordpress.org/support/users/ayarsava/)
 * (@ayarsava)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477367)
 * Same error right here. Also using plugin in spanish version
 *  Thread Starter [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477369)
 * Hi Xnau,
 * I have been searching for the cause of the problem. I installed a brand new site(
   under Xampp) in default language (English), and immediately installed Participants
   Database (automatically also in English). Now it’s working all right! I can remove
   any field I want and it does not return.
 * I have another offline site where I already installed PD before. I switched that
   site to English, and after that here too deleting a field was no problemn. So
   it definitely must be something in the translation that is not working correctly(
   I use the Dutch translation, apparently the same problem appears also in the 
   Spanish translation).
 * Would this help you to find a solution? I’m not sure if I can repeatedly change
   the website’s language without problems.
 * Thanks for your help!
 *  Thread Starter [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477370)
 * in addition to my previous post: on the helppage (tab next to Field Groups), 
   there is something wrong in the translation: the link on “visit help pages on
   PD” is not closed until the end of the page (that is: the information on Readonly)
   so the whole page is an underlined link. This also must be a translation problem,
   in the original English version I don’t see this problemn.
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477372)
 * OK, well the specific problem with the Manage Database Fields page was that there
   are two translation items called “group”…one of the was capitalized, but the 
   translation string was uncaptialized, so there was confusion.
 * In the Dutch translation, both “Group” and “group” translate as “Groep” so that
   could cause a problem. I suppose. I have not tested this. In the Spanish translation,
   the two are different. so I don’t know about that.
 * I’ll mark these down as bugs so I’ll fix them soon.
 *  [A-jay](https://wordpress.org/support/users/a-jay/)
 * (@a-jay)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477376)
 * Hi, I ran into the same problem. (also running the dutch version).
    I made these
   changes to the translation:
 *     ```
       Delete the "{name}" {thing}?
       Verwijder het "{name}" {thing}?
   
       Please visit the %sParticipants Database help pages%s for up-to-date information on using this plugin.
       Bezoekt u alstublieft de %shulppagina's van de ParticipantenDatabase%s voor up-to-date informatie over het gebruik van deze plugin.
   
       You must remove all fields from the {name} group before deleting it.
       U dient alle velden van de groep {name} te verwijderen, alvorens de groep te verwijderen.
       ```
   
 * Also changed “Groep” to “groep”.
    No succes.
 * After clicking the red cross teh row disapears. But after updating the’re back
   again.
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477394)
 * I see there is a problem with the translation. Words in brackets are not supposed
   to be translated, to the line in the translation that is:
 * Verwijder het “{naam}” {ding}?
 * Should be:
 * Verwijder het “{name}” {thing}?
 * then it will work. This is because the Javascript is looking for the english 
   string, which it will replace with a translated string.
 *  Thread Starter [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477395)
 * Hi,
    great, this works! I used the plugin Loco Translate to correct this. Thanks
   for the support!
 *  Thread Starter [MarionFW](https://wordpress.org/support/users/marionfw/)
 * (@marionfw)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477396)
 * Very sorry, but I was too hasty. Although I made the changes as indicated, the
   test field that I added keeps coming back, even after emptying cache.
 * I’m not really very familiar with translations. I used the plugin Loco translations
   to correct. Because that had no result, I tried Poedit (and upon validation found
   that there were 2 other errors in the translation; I corrected them too).
    As
   far as I can see, the .po and .mo files are fine now, but still no result on 
   deleting, the field seems to disappear but stil comes back.
 * Even deleting the Dutch translation of this line altogether does not work.
 * Is there a way to use the plugin in its original language (without having to 
   turn the WordPress language from Dutch back to English)?
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477398)
 * OK, I see the bug. The delete function is looking for an english word, but it
   should be looking for the translated word.
 * You can fix it like this:
 * In the plugin file classes/PDb_Manage_Fields.class.php on line 646, find:
 * `case 'delete_field':`
 * change this to:
 * `case 'delete_' . $this->i18n['field']:`
 * And you should do a similar thing for “group” on line 658.
 *  [ayarsava](https://wordpress.org/support/users/ayarsava/)
 * (@ayarsava)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477399)
 * Hi Xnau, thanks for your work!
    I am wondering if you could create an issue about
   it and release a new version with that bug fixed. I work on an environment where
   I do not have the chance to modify files on plugins as a security requirement.
   Thanks in advance! Ayar
 *  Plugin Author [xnau webdesign](https://wordpress.org/support/users/xnau/)
 * (@xnau)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/#post-6477400)
 * I am, but this is in case you can’t wait for that to come out.

Viewing 15 replies - 1 through 15 (of 17 total)

1 [2](https://wordpress.org/support/topic/delete-fields-does-not-work/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/delete-fields-does-not-work/page/2/?output_format=md)

The topic ‘delete fields does not work?’ is closed to new replies.

 * ![](https://ps.w.org/participants-database/assets/icon-256x256.jpg?rev=1389807)
 * [Participants Database](https://wordpress.org/plugins/participants-database/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/participants-database/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/participants-database/)
 * [Active Topics](https://wordpress.org/support/plugin/participants-database/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/participants-database/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/participants-database/reviews/)

## Tags

 * [delete field](https://wordpress.org/support/topic-tag/delete-field/)

 * 17 replies
 * 5 participants
 * Last reply from: [susipop](https://wordpress.org/support/users/susipop/)
 * Last activity: [10 years, 7 months ago](https://wordpress.org/support/topic/delete-fields-does-not-work/page/2/#post-6477421)
 * Status: not resolved