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

AC-14, persist #55

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open

AC-14, persist #55

wants to merge 5 commits into from

Conversation

knutsenm
Copy link
Contributor

No description provided.

@knutsenm knutsenm requested a review from nickrens July 27, 2020 22:46
@knutsenm
Copy link
Contributor Author

@andrewroth we'll likely need your help and advice for the jQuery here

@knutsenm
Copy link
Contributor Author

knutsenm commented Jul 27, 2020

Looks good on staging, so far as it goes.
See https://campaign-forms-stage.cru.org/admin/forms/d5c8342c-1655-4773-b533-e82041631d5b

@@ -57,6 +57,8 @@ if (typeof window.campaignForms === 'undefined') {
// Disable and hide form
form.addClass('hidden').find('input, button').prop('disabled', 'disabled')
}

// MK: Stow any fields of class "cfpersisted" in well-named sessionStorage key
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

...where "well-named ... key" probably means using the id of the field with the trailing number stripped off. That is, cf_email_address_457 becomes cf_email_address.

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

Successfully merging this pull request may close these issues.

1 participant