WordPress.org

Ready to get started?Download WordPress

Forums

Job Manager
FIXED BUG - Application Page (2 posts)

  1. dragoonis
    Member
    Posted 4 years ago #

    I have fixed a bug in the application page whereby if you have a mandatory field, it runs the form submit through jobman_apply_filter and it is looking in the wrong DOM element to make sure it has content in it.

    /js/display.js is the file
    line #5 is the line.

    Change
    field = jQuery("[name=jobman-field-" + jobman_mandatory_ids[ii] + "]");
    to
    field = jQuery("[name=jobman-field-display-" + jobman_mandatory_ids[ii] + "]");

  2. Gary Pendergast
    Member
    Plugin Author

    Posted 4 years ago #

    This is only the case for Geolocation fields when one of the following occurs:

    - The user is either not using a HTML5 browser, doesn't have Google Gears installed, or refused the "show your location" warning.
    - The user edits the Geolocation display field.

    I'll write a fix for this and release a new version, though you should be aware that just making that change will break mandatory field checking for all other field types.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic