Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to add someone to a path when manually entering a donation #6

Open
ineffyble opened this issue Oct 14, 2016 · 0 comments
Open

Comments

@ineffyble
Copy link
Owner

Suggestion: http://nationbuilder.com/add_option_to_add_someone_to_a_path_when_manually_entering_a_donation

Should be a case of adding a new form select, populating with the paths list (pulled via AJAX), then either when the donation form is submitted, or when a separate "Add to path" button is clicked, posting that.

GET data: Get list of paths via AJAX - see https://github.com/ineffyble/nationtweaker/blob/master/nationtweaker.js#L202 for details

POST data: post to /signups/NBID/paths. Only form data is
path_journey[path_id]:PATHID

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant