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.
I would like to customize the url's address after "submit button" is pressed and validated. To be able specify a unique url or get set JavaScript on submit like "onclick="parent.Lightbox.end('forceClose');" would be very useful to me.
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedNice idea.
Comment #2
benschaaf CreditAttribution: benschaaf commentedIs Javascript the preferred method of handle this @jcventura? That doesn't seem very Drupal-y.
Is there not a hook to change the path on a form-by-form basis?
Comment #3
jcnventura CreditAttribution: jcnventura commentedThere's no method to handle this yet. No hook, and no Javascript. That's why this is a "postponed" issue in the "feature request" category. Feel free to create the patch and change the status to "needs review".
Other than that, this will be done when I have the time to do it.
Comment #4
mobiro CreditAttribution: mobiro commentedstill waiting for this feature...
I hope I can change(ex. page from where we access printmail link in case we add printmail link in any page manually) or remove the redirect page address after email submitting...
cc @jcnventura :)