change the action in my popup form

Created on 24 May 2023, over 1 year ago
Updated 28 July 2024, 6 months ago

Problem/Motivation

Hello everyone,

I have a popup showed in my page with anchor, and when i submit my form the page reload but without anchor.
How can i add the anchor in my action form.

I do this in js but after submit, the page reloaded withor anchor.

$('form').attr('action', $('form').attr('action')+ window.location.hash);

and i can't add the link in hook_form_alter.

πŸ’¬ Support request
Status

Closed: outdated

Version

11.0 πŸ”₯

Component
FormΒ  β†’

Last updated about 10 hours ago

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