Form validation
-
Hello Team,
I would like to add a validation before submitting the data to the Job submission form.
This is an example field:
‘job_date’ => array(
‘label’ => __( ‘Event date’, ‘wp-job-manager’ ),
‘type’ => ‘text’,
‘required’ => true,
‘classes’ => ‘job-manager-datepicker’,
‘placeholder’ => __( ‘e.g. “18/03/2020″‘, ‘wp-job-manager’ ),
‘priority’ => 2,
‘value’ => ! empty( $job_expires ) ? date( ‘Y-m-d’, strtotime( $job_expires ) ) : ”
),
Could you please help me in achieving this?Also, how can I replace this field with a date-picker?
Thank you in advance!
The page I need help with: [log in to see the link]
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Form validation’ is closed to new replies.