• Resolved Plippers

    (@plippers)


    I have just noticed that if someone tries to post a job and enters a “www” URL (e.g. http://www.test.com) in the Application Email/URL field, this error message comes up: “Please enter a valid application email address or URL”. They can only post a job successfully if they enter http in the URL (e.g. http://www.test.com). I’m not exactly sure when this started, as I haven’t tried posting a test job in a few weeks, but I remember I used to be able to enter just www URLs in the Application Email/URL field. Is there any way to change this and allow the system to accept URLs without the http?

    Many thanks!

    https://wordpress.org/plugins/wp-job-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Mike Jolley (a11n)

    (@mikejolley)

    The validation does this:

    if ( ! strstr( $values['job']['application'], 'http:' ) && ! strstr( $values['job']['application'], 'https:' ) ) {
    						throw new Exception( __( 'Please enter a valid application URL', 'wp-job-manager' ) );
    					}

    Do you think a better error message would help? I.e tell them that http is expected?

    Thread Starter Plippers

    (@plippers)

    Hi Mike!

    Thank you for the reply! Yes, I think a clearer error message that tells the person to add the “http://” would definitely be helpful to the non-tech savvy job poster. Is there any chance that in future updates, the plugin will be able to accept URLs without the http(s)? I ask because many of our site users are so technologically challenged that they already have difficulties with the most basic of things (e.g. logging in), and most will likely attempt “www.test.com” or “test.com” instead of the full URL.

    Many thanks!

    Plugin Author Mike Jolley (a11n)

    (@mikejolley)

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Issue with "Application Email/URL" field’ is closed to new replies.