Quantcast
Channel: Topic Tag: forms | WordPress.org
Viewing all articles
Browse latest Browse all 3051

Use “name” query string to refer to form field instead of pagename

$
0
0

I’m trying to auto-populate a form using url parameters (query strings). The problem is when I use the “name” query string (eg mysite.com/?name=xyz), it is referring to the pagename instead of the Name form field and showing a 404 error.

For eg, if I type mysite.com/?name=david, it shows 404 but if I type mysite.com/?name=about it goes to mysite.com/about.

I tried disabling all plugins and this error still persists. How can I override this default setting of name query string to pagename and have it refer to Name form field?


Viewing all articles
Browse latest Browse all 3051

Trending Articles