In Progress

Setup Javascript code to validate form made in Formidable Pro plugin

I have a website build on Wordpress and Formidable Pro plugin.

I already have a javascript running in the form that validates 3 fields with the social security number and account number.

I now also need to include validation for some extra fields in my form:

1. Age - Minimum 20 and maximum 70. I have a field with social security number, in the format ddmmyyxxxxx, where the first 6 digits is the date of birth. I need the script to first calculate the age today from that field, and then to give a red error in the same style like the social security number validation that is already setup, with the message "Age must be between 20 and 70" if the age is outside of the criteria.

2. GrossYearlyIncome - I have a field where the user can insert his annual income. If the inserted value is below 200 000, then I need the red message appearing below the field with the text "Income can not be lower than 200 000". I already have a validation for this through Formidable native validation for range in number fields, but the invalid message is not appearing like it should, it now shows as a tooltip.

3. I have a field with some dropdown options. I want to make some of this options invalid, so it´s showing with the same error style like the above fields, with the error message "You can not have this jobstatus".

4. Redemption: In the first page of the form the user can select an amount from a dropdown in field 1. In the last page of the form I have a repetable section, where users can enter all of his redemptions. This section contains a dropdown box with question yes or no. I need a validation that checks if the sum of all redemptions where the checkbox with the option "yes" is less than the selected value in field 1. If it´s not less then I need to show the invalid message "The sum of the redemptions with the option yes, can not exceed field 1."

The code snippet that now runs for validations is inserted in the custom HTML of Formidable on the box "After fields".

All validation need to done directly after the user moves on to the next field, clicks outside of the field or click on next/send.

All custom coding need to be done in front-end, either in customize html in the form settings of the Formidable Pro plugin or in the plugin "Code snippets". The reason to this is that we have a complex working website, and we can not have any backend coding on this site.

I need to get documentation of the custom coding, so I understand what to change and where to change if I make adjustments in the form options.

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

See more: add zip code radius search formidable pro, javascript code facebook form, javascript code validate number mozila browser, javascript code redirect form submit, javascript calculator validate form, javascript php validate form, javascript code redirect form page, validate form checkbox javascript, javascript code order form, javascript validate form inline, javascript code order form shipping, javascript code calculate order form, javascript code registration form, onsubmit validate form javascript, validate form template javascript

About the Employer:
( 1 review ) Oslo, Norway

Project ID: #15410414

Awarded to:

noonanwebgroup

We've already discussed this project, so I am just making my bid :) Let me know if you need any modifications making.

$40 USD in 1 day
(24 Reviews)
5.1

11 freelancers are bidding on average $73 for this job

A2Design

Hello, We are a team of 30 developers based in Russia. Having the required skills & experience we are highly enthusiastic about the opportunity to work on your project. Our latest WP projects: [url removed, login to view] More

$350 USD in 3 days
(111 Reviews)
8.6
londonlance

We are a London (Shoreditch) based web development studio. Please get in touch to discuss further. Following are some of our recent projects; [url removed, login to view] A social media post scheduler and manager More

$30 USD in 30 days
(56 Reviews)
7.8
technoweb7

A proposal has not yet been provided

$121 USD in 1 day
(7 Reviews)
4.7
$25 USD in 1 day
(6 Reviews)
4.2
Megan93

Hi there, I'm experienced Web Developer, Will be pleasure to work with you. Thank you so much and have a nice day :)

$25 USD in 1 day
(16 Reviews)
3.8
omniscient04

Hello We are a contemporary and excellent Website design and development team with a focus on user-centered design while helping clients to achieve the desired result. We are a dynamic and outstanding team with 5+y More

$100 USD in 3 days
(8 Reviews)
3.7
shoaibthink

I'm very new to Freelancer website and wanted to start putting myself out there for some work. Although have a well-built profile on Upwork which you can check here - [url removed, login to view] I have 5+ year More

$40 USD in 2 days
(5 Reviews)
3.1
ftbraja90

Greetings! I take this opportunity to thank you for giving me the chance to showcase my skills and expertise. Your project has intrigued me and I look forward to work with you on it.I believe excellence is the key to More

$35 USD in 7 days
(2 Reviews)
2.8
$15 USD in 1 day
(0 Reviews)
0.0
Raza8964

A proposal has not yet been provided

$25 USD in 2 days
(0 Reviews)
0.0