• Resolved yourmaui

    (@yourmaui)


    Is there a way to bypass all the required fields if an admin goes into the backend to make a comment in a hidden field? We have a comment field that the admin needs to make notes in before the user has completed entering their data into the required fields. When the admin goes in to make a note, it will not let them apply or save because all the fields are not complete. Am I missing any settings that would allow me to do this?

    Thanks for the great plugin

    http://wordpress.org/extend/plugins/participants-database/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author xnau webdesign

    (@xnau)

    yourmaui,

    No setting for this, but it’s a good idea.

    You can alter the plugin to ignore field validation in the admin, though. Try this:

    In participants-database.php on line 1710 you’ll find:
    if (!is_object(self::$validation_errors))

    change this to:
    if (!is_object(self::$validation_errors) and ! is_admin())

    Now it won’t try to validate the fields in the admin.

    Thread Starter yourmaui

    (@yourmaui)

    Thanks, works

    Fantastic – wish I’d thought of asking for this months ago!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Admin Edit with blank required fields’ is closed to new replies.