Ready to get started?Download WordPress


Participants Database
[resolved] Read-Only fields getting deleted. (2 posts)

  1. petker
    Posted 1 year ago #

    I've stumbled across some odd behavior when working with the record update form. The form holds some fields, that are editable for the user and some fields are locked, using the Read-only in the manage data fields section.

    When the user presses the save button on the form, the read only fields are deleted.


  2. xnau
    Plugin Author

    Posted 1 year ago #


    Thanks for finding that. I'll be issuing a fix in the next update.

    The fix will be this: On line 856 of participants_database.php is:

    $where = 'WHERE g.display = 1 ';

    This gets changed to:

    $where = 'WHERE g.display = 1 AND v.readonly = 0';

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic