Javascript needed for payment forms

Ολοκληρωμένο Αναρτήθηκε Sep 12, 2014 Πληρώθηκε κατά την παράδοση
Ολοκληρωμένο Πληρώθηκε κατά την παράδοση

We have two donate pages which are build on a 3rd-party system. We do not have control over the html of the form elements but do control the template surrounding it.

We have one page for our direct debit donations (DD)

[login to view URL]

and one for single credit/debit card gifts (CC)

[login to view URL]

These are linked using buttons on the different tabs.

I have developed the pages to their current state using a number of 3rd-party javascript plugins. These have been used to create the tabbed layout, the styling on the dropdown select fields and the concertina dropdown on the direct debit form.

These are linked to here

[login to view URL]

[login to view URL]

[login to view URL]

What I need is for someone to recreate all of the functions which currently exist but without the 3rd party scripts, minimising http calls and resolving any conflicting js.

The postcode lookup button is also provided by a 3rd-party script but this should be kept as is.

I also have a list of further functions which we would like adding to the forms.

1. When form is submitted and there are fields which aren't valid an error message appears. Currently the page reloads at the top of the page with all of the field hidden, I need it to:

a. Scroll to the error message div

b. Display all form fields which have been filled in

2. When the Title field is changed, update Account Holder (DD) or Name on Card (CC), as it does with First Name & Last Name

3. If there is a value selected on DD form, then they decide to do a credit card gift then the value of CC gift is not passed through

4. If a £value is passed through to CC form from DD form (or vice versa), then the Your Details fields need to be both revealed and scrolled down to

5. Strip non-numeric characters from number field on keyup (eg. if user inputs sort code 12-34-56, strip out to be 123456)

6. Format display in sort code and card number fields (i.e. group numbers 00 00 00, 0000 0000 0000 0000)

7. Prevent the Flash Of UnStyled Content on page load [login to view URL]

9. On the thank you page (see example here [login to view URL]), we want to hide the photo and the tabs etc. and just show our thank you message. This means removing all of the content of <div class="body-content"></div> and just retaining the content of <div id="Thanks_-_credit_cardDiv" class="eaFullWidthContent"></div> (which has to be inside the body-content div in our template)

10. Set opacity of submit button to 0.5 and make it unclickable until all mandatory fields are filled in (and on DD form until last question is answered yes)

I have created two duplicates of the form without any of the surrounding template so that you can see the form on its own.

Direct Debit Form - [login to view URL]

Single Gift Form - [login to view URL]

Please feel free to ask if any clarification is needed.

As previously stated, I cannot give access to the html of the form but can edit the html of the template. When developing the solution it would make sense to link to a js file which you can host.

JavaScript jQuery / Prototype

Ταυτότητα Εργασίας: #6445970

Σχετικά με την εργασία

12 προτάσεις Απομακρυσμένη εργασία Ενεργό Sep 16, 2014

Ανατέθηκε στον:

sfieldcorp

Dear keirm, Thank you for the invitation. With an extensive experience in Javascript and jQuery, we are confident we can help you to improve your site with the required functions. I might misunderstand your descr Περισσότερα

£250 GBP σε 3 μέρες
(24 Αξιολογήσεις)
6.8

12 freelancers κάνουν προσφορές κατά μέσο όρο £188 για αυτή τη δουλειά

gopalvora

Hi I have gone through the details of your project and we find it well within our capabilities. I offer a wide range of services, including Web design, PHP/MySQL web application development, Open sources like Joo Περισσότερα

£185 GBP σε 8 μέρες
(139 Αξιολογήσεις)
7.1
Armref

A proposal has not yet been provided

£352 GBP σε 10 μέρες
(8 Αξιολογήσεις)
5.4
shadow718

Hello. I am a expert Web, jQuery developer. If you give me a chance, I will work for you. Thank you.

£157 GBP σε 3 μέρες
(6 Αξιολογήσεις)
3.5
KhalidShah123

We are the leading professional web development organization having technical expertise in developing, designing, managing, optimizing and customizing websites by implementing the websites in different demanding softwa Περισσότερα

£150 GBP σε 3 μέρες
(2 Αξιολογήσεις)
2.1
bistanil98

Need to discuss this in detail,please tell me how we can start the discussion on this requirement. We have a team of 34 professionals,they have more than 11 year of experience, expertise in php/mysql and their MVC f Περισσότερα

£230 GBP σε 12 μέρες
(10 Αξιολογήσεις)
6.4
Sajid909

i am a student of computer science and by profession i am a programmer and i want to do this project free of cost but only if you give me time and opportunity to do this project

£150 GBP σε 3 μέρες
(0 Αξιολογήσεις)
0.0