• Resolved pollardd

    (@pollardd)


    I wish to use this as a COVID-19 visitor register.
    It seems to do everything I need.
    One problem I have run into is it does not let me create multiple entries with the same details. For example if a visitor calls twice I get the Double Post Error Message.

    How can I disable this so a user can create multiple entries.
    I assume this is validating on email address?

    Otherwise this is looking great.

    Thanks
    David

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Marcel Pol

    (@mpol)

    Hi Pollard,
    I think you can just add this code to your functions.php of your theme:

    remove_filter( 'gwolle_gb_new_entry_frontend', 'gwolle_gb_check_double_entry' );

    I do think this code in the theme will be run after the plugin is loaded, so it should have the right timing.
    Let me know how it works for you.
    I tested it here, and it works for me.

    Thread Starter pollardd

    (@pollardd)

    Hi Marcel,
    That worked very well. Strange when I copied the code out of my email and posted it into my functions.php file WordPress completely failed to load anything. When I copied the code from the forum post and pasted it worked perfectly.

    Thanks very much for your quick assistance. This is a very versatile little program.

    I have another question but I’ll create a separate post to make them more easily searchable to other people.

    Thanks
    David

    Thread Starter pollardd

    (@pollardd)

    Forgot to mark this as solved 🙂

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Disable the Double Post Warning’ is closed to new replies.