Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hey,
I would like to have an "Are you sure?" browser error, somewhat sporadicly on form submits. Does this sound like a funny misery thing? Perhaps twice sometimes?
Comments
Comment #1
danielb CreditAttribution: danielb commentedI suppose it's a good idea. Would take a bit more effort than the options I've done. I'd put it in if someone figured out the code - otherwise postponed until I decide to do some serious work on this module.
Comment #2
danielb CreditAttribution: danielb commentedI had a brief look at this, and there a number of challenges which need to be addressed regarding how to implement this. I don't really know what you want, but basically it's a bit too hard for me to figure out, and I might have to give it a miss. There are already ways to screw with form submissions, and this one frankly requires a bit too much effort :P You would have to create a new 'in between' form during the validation, but store their submitted form values in hidden fields or store them for programmatic submission. I'm not even sure about that.
If you figure it out, I'll be happy to add it in, but it's not an important enough feature for me to spend a lot of time on.