WordPress.org

Ready to get started?Download WordPress

Forums

Personal Fundraiser
[resolved] "Required" is not working (12 posts)

  1. Motion
    Member
    Posted 5 months ago #

    When i check the "required" check-box in the fields i add in personal fundraiser's admin-area, they do not appear required. People can add a new campaign without filling in the information. The star beside the title of the field is there, but people don't need to fill in required field. Only the fields that is not created by me is actually required. Any help is very much appreciated.

    https://wordpress.org/plugins/personal-fundraiser/

  2. Motion
    Member
    Posted 5 months ago #

    I found out that this is true at least for the fields "textarea" and "image".

  3. Motion
    Member
    Posted 5 months ago #

    I have now tried de-activating all plugins and changed themes but the problem is still there. This seems to be an issue with the plugin itself. When i inspect the form in Firebug all the fields i haven't created have the class="something-something validate[required]". The "validate[required]" is not in the class for the fields i have added, except for email-field and username-field. The star behind the field-title is there, indicating that it is a required field, which it is not. I have tried to put "validate[required]" in the class for 'textarea' in the functions.php, and tried other modifications of the files too, but to no avail. Any help is much appreciated.

  4. John Kleinschmidt
    Member
    Plugin Author

    Posted 5 months ago #

    This is a bug in the personal fundraiser plugin. Right now required fields do not work for textarea and images. All other field types should be working.

  5. Motion
    Member
    Posted 5 months ago #

    Thank you for the fast reply John. Is there any small code i can add or change in one of the files to make it work?

  6. John Kleinschmidt
    Member
    Plugin Author

    Posted 5 months ago #

    I just added a quick fix for this issue, so if you download the latest version of the plugin(0.8.2), it should be fixed.

  7. Motion
    Member
    Posted 5 months ago #

    Thank you very much John. You're the best! Fantastic that you share this plugin so that others may use it. It opens av very good way for charities to get funding for their causes. I thank you very much for this generosity.

  8. Motion
    Member
    Posted 5 months ago #

    Hi again!

    I want to inform you that the image field (when set as required) now tells you to upload image every time you edit the campaign. The uploaded image is there, but the plugin doesn't recognize the image as uploaded. The message "this field is required" appear even though the image is uploaded. Any help is very much appreciated. Thanks!

  9. John Kleinschmidt
    Member
    Plugin Author

    Posted 5 months ago #

    The message should disappear after you select a file and then click on the Ok button. Does it disappear when you click on the Ok button? If not, what browser and you using?

  10. Motion
    Member
    Posted 4 months ago #

    The problem is that you have to select a file every time you want to edit anything. When you edit the campaign, the image shows to the right of the image-field, but you have to select the image file one more time to get the "field is required"-message to disappear on the image-field. The message appears when you click OK, even though the image shows to the right for the field. Have tried in firefox and chrome.

  11. John Kleinschmidt
    Member
    Plugin Author

    Posted 4 months ago #

    I missed the edit part of the validation. I just pushed a new version (0.8.3) that fixes this issue.

  12. Motion
    Member
    Posted 4 months ago #

    Thank you very much! :)

Reply

You must log in to post.

About this Plugin

About this Topic