Ajax incompatibility?

Created on 29 June 2013, over 11 years ago
Updated 28 February 2023, over 1 year ago

I have an Add to Cart form for Drupal Commerce which includes a Signature Field.

The user can pick which product to add to the cart by using a select field. When the user changes the selected product, an ajax call regenerates the add to cart form.

Problem:
When the user first visits the page the signature field works fine. But if they change the selected product and the form is regenerated by ajax, the signature field stops working. (Grey signature line disappears, text box does not create the faux signature, and the field fails to validate.)

For forms that regenerate with ajax, does another function need to be added to the form to re-initialize the signature field?

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States derekw

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024