Getting default values from URL with anchor link
-
Hi,
I want to set a default value depending on which button the user click. The user can request different packages, the chosen one should be preselected.
The select field:
[select* package default:get first_as_label “Package” “Package1” “Package2” “Package3”]This link is working – the select field has the right value (yeah :-)):
https://website.com/packages/?package=package1But I also want to jump to the anchor link of the form. When I paste the following url in my browser it is working – default value + anchor link, but when I add the link to the button and click on it it’s not working – anchor link is working but no default value is set.
https://website.com/packages/?package=package1#request-packageSomeone has an idea how I can get this to work?
I’m using Divi theme, I’m not sure if this is a CF7 or Divi issue (or something else).
- The topic ‘Getting default values from URL with anchor link’ is closed to new replies.