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

Completed Posted 6 years ago Paid on delivery
Completed Paid on delivery

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.

AJAX JavaScript jQuery / Prototype PHP WordPress

Project ID: #15446137

About the project

4 proposals Remote project Active 6 years ago

Awarded to:

picaro3535

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
(23 Reviews)
4.8

4 freelancers are bidding on average $25 for this job

amjadali4888

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
(64 Reviews)
5.1
vinodselvin

A proposal has not yet been provided

$25 CAD in 2 days
(0 Reviews)
0.0