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

gpecf-set-discount-amount-by-field-value.php: Fixed JavaScript error in snippet and updated to use new gform.Currency.cleanNumber method if available. #997

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

saifsultanc
Copy link
Contributor

Context

⛑️ Ticket(s): https://secure.helpscout.net/conversation/2815392542/76495

Summary

The snippet no longer works as expected, and it's generating an error message in the browser console.

Samuel's Loom: https://www.loom.com/share/f20a87f7858a4de4bbf4186c2c7047ad?sid=e469a05c-164f-4048-980f-67289ff45b94

Post update:
Screenshot 2025-01-10 at 9 26 30 PM

Also making a note gform.Currency.cleanNumber since gformCleanNumber has been deprecated with GF 2.9.
Screenshot 2025-01-10 at 9 26 50 PM

…nippet not working.

`gpecf-set-discount-amount-by-field-value.php`: Fixed an issue with snippet not working.

`gpecf-set-discount-amount-by-field-value.php`: Fixed an issue with snippet not working.

`gpecf-set-discount-amount-by-field-value.php`: Fixed an issue with snippet not working.
@saifsultanc saifsultanc added the bug Something isn't working label Jan 10, 2025
@claygriffiths claygriffiths changed the title gpecf-set-discount-amount-by-field-value.php: Fixed an issue with snippet not working. gpecf-set-discount-amount-by-field-value.php: Fixed JavaScript error in snippet and updated to use new gform.Currency.cleanNumber method if available. Jan 13, 2025
@claygriffiths claygriffiths merged commit ed081df into master Jan 13, 2025
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

Successfully merging this pull request may close these issues.

2 participants