Jquery Modal form submission and in-line validations

Hey Kyle

I have encountered a particularly vexing jquery problem (for me mind you- for someone experienced with javascript this is probably peanuts).

Basically I've got a modal form what isn't submitting and isn't responding to the "client_side_validation" gem I'm using for UJS in-line validation

I'm a student and have been building this thing myself for the past month and half. I would be willing to pay you $110 tops- I don't have the money for anything more. Would be forever indebted to you if you could take this on, or at the very least take a look at my code and give me some brief guidance.

Here's the full spec:

Project Description:

The big questions are:

-where to put and how to implement validations for the new user/transaction modal form

-how to submit the modal form

-how to update the page after form submission

My app is integrated with Stripe for payments. I am using client_side_validations gem for in-line form validation.

Here's the user flow:

1. Non-user clicks the "buy" button for a post

2. 'transactions/form' modal dialog form opens: contains a form that creates a new transaction and optionally- a new user (registration)

3. form contains stripe credit card fields and optional password/email fields, also contains hidden fields for information about the post (id, price, etc...)

4. User has two options:

a. enter only credit details

b. enter credit details and password/email, i.e. register

5. click submit

6. IF: option a, only credit details have been entered

- validate card

- charge credit card

- close modal and make appropriate changes to the page

7. IF: option b, credit card + registration details have been entered

- validate card and user details

- create user

- create customer and charge customer

- close modal and make appropriate changes to the page

8. the post is changed from 'active' to 'inactive'

If you take on the job, I'll add you as a contributor to my private github repo

The files and line numbers that need work are:

[url removed, login to view] line:60 - this is the jquery stuff for the modal form

transactions/[url removed, login to view] (the modal form)

[url removed, login to view] line: 43- the create action (respond_to and format ajax stuff)

[url removed, login to view] (for validations and charge methods- shouldn't need to mess with these)

[url removed, login to view] (for validations)

pages/[url removed, login to view] line: 24

Taidot: AJAX, jQuery / Prototype, Ruby on Rails

Näytä lisää: jquery modal registration form, what is a line card, validate credit card, tops code, registration flow, on line job work, make line, line in problem, jquery full, job on the line, job id card, html to haml, how to make a line card, gem update, big money registration code, active forever, repo job, is my credit card active, html haml, haml javascript, github price, github how to, active job application, html on line, tops in

Tietoa työnantajasta:
( 0 arvostelua ) Santa Barbara, United States

Projektin tunnus: #4279504

1 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_23% %project_currencyDetails_sign_sub_24% tähän työhön


Hired by the Employer

$110 USD 5 päivässä
(5 arvostelua)