Support » Plugin: WP Job Openings » Request for mail form

  • Resolved hiromarch

    (@hiromarch)


    Hello
    WP Job Openings is wonderful.

    I have a request for function.
    At the mail form ”Apply for this position”,
    There are “Full Name”, “Email”,”Phone”,”Cover Letter” and “Upload CV/Resume”…
    I want to select items.
    For example, only “Full Name”, “Email” and “Cover Letter”.

    Please consider about the above.
    Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • hiromarch

    (@hiromarch)

    For now, it will be helpful if it can be an optional item, not mandatory item.

    Plugin Support Anantajit JG

    (@anantajitjg)

    Hi hiromarch,

    Thanks for using our plugin. Glad that you liked it!

    We will soon release an add-on that will have the capability to manage application form. Using that you can customize/delete existing fields and you can also add new form fields.

    hiromarch

    (@hiromarch)

    Hi anantajitjg,
    Thank you for your reply.
    I am looking forward to the release!

    daganderson

    (@daganderson)

    When will the add-on be released?

    Hi,

    Goto Plugins > Editor and select “WP Job Openings”

    select the file:

    wp-job-openings/inc/class-awsm-job-openings-form.php

    search for “$default_form_fields” then edit this:

    'awsm_file' => array(
                    'label'        => __( 'Upload CV/Resume', 'wp-job-openings' ),
                    'field_type'   => array(
                        'tag'    => 'input',
                        'type'   => 'file',
                        'accept' => $allowed_file_types
                    ),
                    'id'           => 'awsm-application-file',
                    'class'        => array( 'awsm-resume-file-control', 'awsm-job-form-control', 'awsm-form-file-control' ),
                    'content'      => $allowed_file_content
                )

    to this, to hide Upload CV:

    'awsm_file' => array(
                    'label'        => __( 'Upload CV/Resume', 'wp-job-openings' ),
                    'field_type'   => array(
                        'tag'    => 'input',
                        'type'   => 'file',
                        'accept' => $allowed_file_types
                    ),
                    'id'           => 'awsm-application-file',
                    'class'        => array( 'awsm-resume-file-control', 'awsm-job-form-control', 'awsm-form-file-control' ),
                    'content'      => $allowed_file_content,
    		'show_field'   => false
                )

    to hide phone change:

    'awsm_applicant_phone' => array(
                    'label'        => __( 'Phone', 'wp-job-openings' ),
                    'field_type'   => array(
                        'tag'  => 'input',
                        'type' => 'tel'
                    ),
                    'id'           => 'awsm-applicant-phone',
                    'class'        => array( 'awsm-job-form-control' ),
                    'error'        => array(
                        'error_msg'  => __( 'Please enter a valid phone number.', 'wp-job-openings' )
                    )
                ),

    to this:

    'awsm_applicant_phone' => array(
                    'label'        => __( 'Phone', 'wp-job-openings' ),
                    'field_type'   => array(
                        'tag'  => 'input',
                        'type' => 'tel'
                    ),
                    'id'           => 'awsm-applicant-phone',
                    'class'        => array( 'awsm-job-form-control' ),
                    'error'        => array(
                        'error_msg'  => __( 'Please enter a valid phone number.', 'wp-job-openings' )
                    ),
    		'show_field'   => false
                ),

    The solution is to add the last line in each input you need to hide.

    'show_field' => false

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.