• Resolved janet.ong

    (@janetong)


    Hi Support,

    We are creating a recruitment site using WP Job Manager and WP Job Manager Applications add-on.

    We have receive a new requirement that when the registered candidate who try to apply job from our careers site, all the editable fields (last name, firstname, your resume, CV etc..) will auto populated with a value pulled from user’s profile page that they have been key in and save early?

    Kindly advise how can we achieve this? Thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there!

    For support with our paid plugins, please use the form here:
    https://wpjobmanager.com/support

    However, both from that form and here, assistance with implementing or troubleshooting customization is outside of the scope of the support that we offer, per our Support Policy:

    https://wpjobmanager.com/support-policy/.

    If you need it, you can search for development help in a variety of places — here are a few to start:

    https://jobs.wordpress.net/
    https://jetpack.pro/
    https://codeable.io/?ref=l1TwZ

    That said, this snippet might give a head start:

    
    add_filter( 'job_application_form_fields', function( $fields ) {
      if ( ! is_user_logged_in() ) {
    	return $fields;
      }
      
      $user_id = get_current_user_id();
      $fields['message']['value'] = get_user_meta( $user_id, 'shared-application-message', true );
      
      return $fields;
    } );
    

    The fields keys are a hyphen-case version of the label. For example, a field with the label “Upload CV” has a field key of upload-cv ($fields['upload-cv']). Fields with From Email and From Name rules already get populated with the user email/display name.

    Jake

    Plugin Contributor Richard Archambault

    (@richardmtl)

    I’m marking this thread as Resolved as it’s been more than a month since the last reply. If you still need help, please do reply again and mark the thread as Unresolved!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Auto populated with a value pulled from user’s profile page’ is closed to new replies.