Javascript swear word filter / base64 query decoding & masking

Cancelled Posted Oct 13, 2015 Paid on delivery
Cancelled Paid on delivery

I am looking for a veteran javascript/php programmer that can create some scripts. I would need the scripts to be universal that work cross-browser where I can copy paste them into any of my html/php sites. I would like the scripts to be created as a package file so we can call functions necessary. Scripts would be processed with the same form so they must work together concurrently if needed.

Here are the scripts needed:

1. Script that will look at the data input fields in a form and ensure that the fields are not empty. If they are empty the script should return an pop up alert message of choice which would be unique for each field. IE: empty name and email address fields would return "Please enter your name" and "Please enter your email address" pop up alerts for both if they are blank when the user clicks on the form submit button.

2. Script that will check each data input fields and make sure that there is no swear/bad words when the user clicks on the form submit button. The swear word filter must have the ability for the admin to add custom additional swear words on demand if necessary and be able to look for certain strings in a word in the event that someone tries to be tricky. IE: If user inputs "youareapunkass" it would look for the string "punkass" which would of already been defined by admin in the list and return a pop up alert that tells the user this word is not allowed with message of choice.

3. Script that will check each data input fields and make sure that only numbers can be entered. Admin can define himself in the form max length of input data field in the form.

4. Script that will check the email syntax to ensure user input a correct email. IE: cannot add email @@ [url removed, login to view] or .email @ domain com or !email at domain com. (We need the user to input a valid, properly syntaxed email that does not have anything like ! @ # $ % ^ & * ( ) in the prefix or suffix of email address.)

5. Script that can define how many characters a user can input in the data field. IE: Can only be 4, 6, 8, or 12 characters. It can also be a set of characters. IE: data field can only have a 4 or 6 characters password only. Anything else returns pop up alert with message of choice. (This might be two separate scripts)

6. Script that will grab the current URL in title bar when the page loads and parse the URL for anything after "?" or basically grab the "query string". In our case it would be an email address. Javascript can be used but we basically need it to grab the query string (email address) and add it to a data field of choice in a form. The script must be able to differentiate or check to see if the query string is infact base64 encoded. If the query string is infact encoded with base64 encryption it would need to decode it and then add it as string/email to the data input field of choice. Once decrypted, the email should be added to the data field and we would then like the query string/email address to be masked with only the first 2 and last 2 letters/numbers showing in the prefix of the email. IE: "myemailaddress at domain com" would show up in the data input field as "my**********ss at domain com". The asterix* should only be a mask and if the input data field is to be added to a POST or SESSION the results would still save up as "myemailaddress at domain com" without asterix* in the POST/SESSION. The correct end result would be email "myemailaddress at domain com".

All this must be presented to us in the example of a functional form with submit/continue button that we can use as a template to copy paste into other projects that we have. Also we would prefer the scripts to be packaged together where we can simply call what we need in the event that we dont need to have all scripts running for a data input field. IE: One field we might only need to use the swear word filter only.

HTML JavaScript PHP Website Design

Project ID: #8680195

About the project

7 proposals Remote project Active Oct 15, 2015

7 freelancers are bidding on average $234 for this job

bestworkontime9

Hello, I understand your requirement and have experience to do this type of work. I assure you that we complete your product on time with quality. Please check your Private Message Box for more details. Thank yo More

$200 CAD in 3 days
(34 Reviews)
5.2
joekuck

I understand you are in need of an expert to help develop a Javascript swear word filter. I am confident I can tackle it quickly. I would enjoy discussing it further as soon as you are available. My name is Joe and More

$150 CAD in 3 days
(7 Reviews)
4.8
tdtminhtuan

A proposal has not yet been provided

$250 CAD in 3 days
(7 Reviews)
4.1
razamubaid

Hi! As discussed details of the work, I will deliver the required codes in maximum of 10 days, but with thorough testing.

$155 CAD in 12 days
(11 Reviews)
3.7