Select and default:get Doesn't Work in CF7 4.4?
-
Although default:get works fine with text input fields to pass default values in the URL in CF7, passing the default value in the URL doesn’t seem to work for a select element.
The following successfully sets the selected item to “Tennis”:
[select your-sports default:2 "Football" "Tennis" "Pole-vault"]
However, using the following code:
[select your-sports default:get "Football" "Tennis" "Pole-vault"]
and passing a URL like this:
https://mydomain.com/contact-us/?your-sports=3
doesn’t set the selected item to “Pole-vault”.
Can anyone confirm that default:get doesn’t work with the select element, and that I’m not just doing something wrong?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Select and default:get Doesn't Work in CF7 4.4?’ is closed to new replies.