1. A 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 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.
2. A script that will check each data input fields and make sure that there is no swear/bad words when the user clicks on the forms 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.
3. A 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.
2 freelanceria on tarjonnut keskimäärin 33 $ tähän työhön