UserPro Plugin - stop form submit based on ajax response if field is blank

We're using the UserPro Plugin. Right now if a user deletes what's in a specific field in their profile so it's blank, jquery detects the input change and that's it's blank, and runs an ajax function. Based on this ajax response, it either shows a warning message and changes the data-required attribute to 1 or does nothing. This is working.

What we need though, is this same function to run when the form is submitted, and either allow or deny the form submission based on the ajax response, and show the same warning message to the user.

Skills: AJAX, Javascript, jQuery / Prototype, PHP, WordPress

See more: form validation using ajax and jquery, ajax form validation example, form validation using ajax and jquery in php, ajax validator, jquery validation ajax submit example, jquery ajax form validation demo, ajax form validation in php, ajax form validation before submit, form submit by ajax, form submit handle xml response, ajax form submit image upload, ajax form submit external, ajax form submit image upload attachment, ajax form fill based selection, php ajax form submit

About the Employer:
( 11 reviews ) Cambridge, Canada

Project ID: #15446137

Awarded to:


I can make this ajax functionality run on form submission. I have previously build an addon for UserPro to add custom tab on user profile. Relevant Skills and Experience I am experienced wordpress developer and have e More

$25 CAD in 1 day
(12 Reviews)

5 freelancers are bidding on average $26 for this job


Hi i can add that warning message to your code Relevant Skills and Experience jquery,userpro,wordpress,php Proposed Milestones $25 CAD - When completed

$25 CAD in 1 day
(60 Reviews)

We can use a Form library for javascript to get the status before submit the form. Relevant Skills and Experience JavaScript, Jquery Proposed Milestones $30 CAD - The whole task

$30 CAD in 1 day
(1 Review)

A proposal has not yet been provided

$25 CAD in 2 days
(0 Reviews)
$25 CAD in 1 day
(0 Reviews)