Skip to content

Donate forms should allow prefilling of donate issues #178

@Rio517

Description

@Rio517

Currently, we have a some JS that receives URL parms and prefills form data. The action to set form values works globally, except for our donate forms. The name/id we match other forms is not consistant with the donate form. We'd like to be able to also prefill donation forms.

Relevant JS:
https://github.com/MayOneUS/mayday-2.0-frontend/blob/master/_assets/javascripts/_includes/global.js#L15

Donation form HTML:
https://github.com/MayOneUS/mayday-2.0-frontend/blob/master/_includes/donate_form.html

Donate form JS:
https://github.com/MayOneUS/mayday-2.0-frontend/blob/master/_assets/javascripts/_includes/donate_form.js

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions