Archive

Posts Tagged ‘validation ajax javascript’

Form Validation

August 8th, 2009 Comments off

Am running low on time in a project and need someone to do some javascript/ajax form validations for me.

Nothing complicated – standard sign up form and a couple of other forms. I do have jquery in use on the website.

This is an easy and quick job for someone who knows what they’re doing. When the job is accepted I’ll post the forms through.

No hidden issues here – there are no complicated validations – very straightforward.

Please quote accordingly.

Need this done asap.

Forms -jquery Validation

July 24th, 2009 Comments off

We have built the HTML for these forms, I just need a PHP handler to process and email form results.

Forms:
http://hoteldevserver.com/emax/form.send-message.php
http://hoteldevserver.com/emax/form.request-call.php

Requirements:
1. Validation – I like this plugin (we’re already using jquery)
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
Demo: http://jquery.bassistance.de/validate/demo/ … something simple like this, just outlining the required fields in red if they are empty or improperly formatted (ie junk in email field)

2. Spam-free … script needs to block header injection and other such junk that spammers use to spam with email forms. I also don’t want to receive emails from people attempting to spam from the forms.

3. Email can be plain text (no fancy HTML formatting)

4. Need to complete it today (before 4:00pm GMT-5)

You can use a single form handler for both forms or a separate one for each. As long as it works we’re good.

I pay via scriptlance escrow and communicate via email, YahooIM, or AIM.

Simple Php-ajax Validation

July 23rd, 2009 Comments off

This is just a quick and simple project that you can finish in a few minutes or an hour.

I just want you to add a simple validation in this form:
http://www.prcboardexamresults.com/sms/

CellNumberPre+CellNumber+alerton+email wasn’t validated if it exists in the Database.

CellNumberPre = cnp
CellNumber = cn
AlertOn = alerton
Email = email

Here’s the MySQL database table sample:
CREATE TABLE IF NOT EXISTS `sms_subscribers` (
`id` int(10) unsigned NOT NULL auto_increment,
`name` varchar(255) NOT NULL default ”,
`email` varchar(255) NOT NULL default ”,
`cnp` varchar(255) NOT NULL default ”,
`cn` varchar(255) NOT NULL default ”,
`alerton` varchar(255) NOT NULL default ”,
PRIMARY KEY (`id`),
UNIQUE KEY `id_2` (`id`),
KEY `id` (`id`)
)

I just want you to validate cnp+cn+alerton+email if it exists in the database.

These are the specific validations that I want you to add in the form:
1. If CNP+CN+ALERTON+EMAIL already exists, then “You already subscribed to our SMS updates for ‘ALERTON’ “
2. If CNP+CN already exists, the “You already subscribe to our ‘ALERTON’ updates, do you wish to subscribe for another update?”
3. If EMAIL already exists, the “Your cellphone number ‘CNP+CN’ already subscribed to our ‘ALERTON” updates, please use another cellphone number”
4. All fields are required.

The HTML form is completely separated from the PHP. I don’t want any modifications in the form. I just want to add some features, like AJAX validation. The message “You already subscribed to our SMS updates for ‘ALERTON’ ” should be above the form. Just validate in an AJAX way. I know you know what I mean.

That’s it.

I have attached you the HTML and PHP wherein you can add the AJAX validation thingy.

That’s all. My project budget is around $10 to $25. Post your lowest bid and delivery time. ;)

Complex Form With Validation

July 16th, 2009 Comments off

I have a fairly complex form with lots of questions. There are many required fields with script letting user know that they need to complete the specific field. The fields also have a tab order.

To URL for the form is:
https://www.innerbalancehealthcenter.com/assessment_form.htm

The layout is poor with nested tables. Initially, there were only a dozen questions but we kept adding on and it is quite messy.
The validation stopped working in IE 8.

Here is what I’m now looking for:
- Clean up overall code and eliminate erroneous tags.
- Move name/address fields to the left more. Right now they are on the right side of the main section and too much white space on the left.
- This is the main change… I would like to make the required field validation more Ajax based or at least validated where the field is located. For instance, if first name is required and the user submits the form without a First Name, then there is some text near the first name field in red italics that says something like “You must include your first name”
- Finally, there are several conditional fields I need to make required. For instance a question with a radio button has a “yes” or “no” response. If the user picks yes, then the 3 fields after are required. If they pick “no” then the next 3 fields can be left blank. An example is:
7. Have you ever been to treatment before? []no []yes
If yes, Name of program [ ], type of program[ ], dates attended from[ ] to[ ]

Question #7 is required. If they answer “No” the related fields can be left blank. But if they answer “Yes” then they need to complete the related fields.

- finally, I need good commenting in the code. We constantly change this form with new questions, new required fields, etc. and need to be able to do this ourselves.

- the layout in the footer looks broken and shows a white background at the very bottom below the footer and should be gray. See other pages on site to see how the footer should look.

This form feeds our formtools database which we like. I’m just looking to clean up this form, improve the validation (located next to and highlights missing required fields), create conditional validation (if yes, then…), fix the layout and well commented code to facilitate future changes.

The current code shows all the required fields. However, these are the conditional fields we would like added:
6a. If 6a contains text, following 4 fields are required.
6b. If 6b contains text, following 4 fields are required.
6c. If 6c contains text, following 4 fields are required.
7. If yes, next 4 fields are required and #8 and #9
If 2nd Name of Program contains text, other 3 fields required and #10, #11
If 3rd Name of Program contains text, other 3 fields required and #12, #13
#14 if yes, 14b
#15 if yes, 15b, 15c, 15d, 15e, 15f, 15g
#16a if yes, 16b, 16c required
#17a if yes, 17b, 17c required
#19a if yes, 19b required
#20a if yes, 20b required
#21a if yes, 21b, 21c required
#22a if yes, 22b required
#23a if yes, 23b required
#39a if yes, 39b required

Open to new ways to accomplish this. Just looking for an elegant and user friendly form in the end.

Simple Php-ajax Validation

June 29th, 2009 Comments off

This is just a quick and simple project that you can finish in a few minutes or an hour.

I just want you to add a simple validation in this form:
http://www.prcboardexamresults.com/sms/

CellNumberPre+CellNumber+alerton+email wasn’t validated if it exists in the Database.

CellNumberPre = cnp
CellNumber = cn
AlertOn = alerton
Email = email

Here’s the MySQL database table sample:
CREATE TABLE IF NOT EXISTS `sms_subscribers` (
`id` int(10) unsigned NOT NULL auto_increment,
`name` varchar(255) NOT NULL default ”,
`email` varchar(255) NOT NULL default ”,
`cnp` varchar(255) NOT NULL default ”,
`cn` varchar(255) NOT NULL default ”,
`alerton` varchar(255) NOT NULL default ”,
PRIMARY KEY (`id`),
UNIQUE KEY `id_2` (`id`),
KEY `id` (`id`)
)

I just want you to validate cnp+cn+alerton+email if it exists in the database.

These are the specific validations that I want you to add in the form:
1. If CNP+CN+ALERTON+EMAIL already exists, then “You already subscribed to our SMS updates for ‘ALERTON’ “
2. If CNP+CN already exists, the “You already subscribe to our ‘ALERTON’ updates, do you wish to subscribe for another update?”
3. If EMAIL already exists, the “Your cellphone number ‘CNP+CN’ already subscribed to our ‘ALERTON” updates, please use another cellphone number”
4. All fields are required.

The HTML form is completely separated from the PHP. I don’t want any modifications in the form. I just want to add some features, like AJAX validation. The message “You already subscribed to our SMS updates for ‘ALERTON’ ” should be above the form. Just validate in an AJAX way. I know you know what I mean.

That’s it.

I have attached you the HTML and PHP wherein you can add the AJAX validation thingy.

That’s all. My project budget is around $10 to $25. Post your lowest bid and delivery time. ;)

Bear