Peruttu

jQuery / AJAX / Javascript Script

This is a simple assignment, but I need it done correctly. Form-letter applications will be ignored. You must apply with a detailed understanding of the assignment, and have a good cover letter.

You should have a knowledge of Javascript, jQuery (maybe mootools as well, but definitely jQuery) and working knowledge of HTML.

Basically you will be using jQuery and the form plugin here:

[url removed, login to view]

Also, you can use the scripts from this tutorial as a great starting point:

[url removed, login to view]

What I need is a script that does the following:

1) You have a web page with a form. It will have a few fields, and when the user hits submit (which is an image submit button), validation will occur. What differs from the tutorial is that I want the validation to occur with alert windows, not the ajax message. I will tell you what fields should be validated.

2) Next, after validation clears, there should be a placeholder image that says "processing your request" as shown in this tutorial:

[url removed, login to view]

This should take the place of the form div completely - basically the form content div will be replaced with this image. Also, the submit button (which is an image) will be replaced with an image that says "loading..." as well. You'll see in the [url removed, login to view] tutorial that the code uses setTimeout() with Javascript to (I believe) specify how long the "loading image" remains on the page. You should utilize this and tell me what file and what number I can modify to adjust the time that the "loading image" remains on the page so I can make it longer and shorter.

3) After the specified time that the loading image is displayed, I then want the following to happen:

- Another form to appear via jQuery AJAX (so somehow displayed through the php file called, or something via jQuery) in the same position that the previous form was in - replacing the previous one, with new form fields. Perhaps some fields (I will tell you what the new fields are) should be auto-filled with the values carried over from the previous form submission. The other values will be "hidden" fields in the new form and will be carried over as well.

Also, the image submit button will again be replaced with a similar image that just says something new on it (this is easy I believe, just call a different image via ajax thru jquery to replace the image div I believe, right?).

What happens with this new form, after some validation (which I already have javascript validation scripts for this second form you can use) is that it should be able to be submitted "regularly" to a new PHP file with the post variables being available to utilized on this next new page you will go to.

4) On this next PHP page, you will utilize the Ultracart Javascript Checkout API. Basically, this is what is used on [url removed, login to view] - so check out the source code. You will be able to re-use the [url removed, login to view] and I also already have a PHP relay script written for the API. Additionally, there is a manual that shows an example and all of the API calls you can use. Essentially, what will be happening on this next page is that there will be a credit card field and a few other fields. You need to be able to communicate via the API with the Ultracart checkout and display any errors (play with [url removed, login to view] to see what I mean), and if there are more errors, be able to display the appropriate fields (for example - when you first go to the page, only the credit card fields will appear, and the name, address, etc. from the previous page will be hidden fields in the form as post variable carried over from the previous page - however, if there is an error, then perhaps those fields will need to be displayed above the credit card field). Another thing that may be needed is a div that is displayed if a checkbox is checked that says "shipping address is different from my billing address" to make those fields appear (different name & address fields) - fairly simple.

Here is what they say in the manual regarding error messages from the API:

Handling Reloads with Error Messages

When you a checkout handoff the customer's browser is redirected into the UltraCart checkout for completion. If there are any errors that need to be redisplayed to the customer then UltraCart will redirect their browser to the URL that you specified in the handoff call. The error messages will appear in the query string as the parameter specified in the handoff call. Please note that there can be more than one error that needs to be displayed to the customer. For your convience we have provided the method getParameterValues which fetches the error messages. Make sure that your javascript code not only displays the errors, but also should reload all the fields on the page so that customer only needs to fix the error fields and not respecify everything.

I believe in the [url removed, login to view] example they use the file /js/[url removed, login to view] to check the billing address versus the shipping address, etc. - so checkout that file. You should be able to tell me what all they are doing in this file. They use jQuery and a [url removed, login to view] aspect within [url removed, login to view] to do work with the API.

There is also a log of calls and error log that can be seen / attained to work with this portion of the assignment.

Essentially we want the same behavior as [url removed, login to view] in terms of the final segment and the checkout process - which basically deals primarily with the submitted values to the API.

Please in your reply state your experience with jQuery and that you have reviewed these sites and also offer any questions you might have on the project. Apply for the project only if you are serious and can do the job right. There may very well be more work for you in the future.

Thanks and good luck!

Taidot: AJAX, Javascript

Näytä lisää: may need jquery, work cover letter, work values, tutorial job, state auto, starting new job right, simple cover letter job, simple cover letter example, query tutorial, one time offer script, number tutorial, name validation javascript, letter example, jquery 2, job values, job offer letter , job javascript, job cover letter example, javascript credit card, javascript cart tutorial, job cover letter

About the Employer:
( 8 reviews ) Miami, United States

Projektin tunnus: #494281

8 freelanceria on tarjonnut keskimäärin 229 $ tähän työhön

ajaxdevman

I can do it perfectly.

400 $ USD 5 päivässä
(28 arvostelua)
6.4
rockerstech

i can do it .

180 $ USD 7 päivässä
(19 arvostelua)
6.4
hsoft

ready to start

221 $ USD 7 päivässä
(16 arvostelua)
5.9
dinhtoan

expert with ajax, jquery. ready.

300 $ USD 5 päivässä
(21 arvostelua)
4.6
ezee

Hi there, We would be glad in accomplishing your work based on your requirement. It would be our pleasure to work with you and start a fruit full relation at both the end. I request you to, check your PMB. Thanking you Lisää

250 $ USD 5 päivässä
(12 arvostelua)
4.3
LChristian

Hi, I'm experienced in jquery and ajax. View PM.

130 $ USD 3 päivässä
(4 arvostelua)
3.7
netlover

i read the project description and i can make sure what you need.let me know your response.thanks

150 $ USD 4 päivässä
(0 arvostelua)
0.0
atifmajid

Expert in writing JavaScript. Able to work with JQuery and any other JavaScript library. Can work to perform your tasks with 100% working application. Hoping to hear from you soon.

300 $ USD 15 päivässä
(1 arvostelu)
0.0
batrajat

we can do this within 7 days..looking to start work with you..

150 $ USD 7 päivässä
(0 arvostelua)
0.0