Automattic / Automattic/jetpack

Contact form pre-filling form fields with URL parameters not working for logged-in users

Open
#12,975 9 comments 0 reactions 0 assignees View on GitHub
[Feature] Forms [Pri] Low Bug
Dominant language
PHP
Stars
1.8k
Forks
898
Avg merge
1d 18h
Merged PRs (30d)
774

Description

#### Steps to reproduce the issue

1. Click here: https://leandroperez.com.ar/en/contact/?id=contact-form-13184&g13184-subject=Prints

#### What I expected

The contact form should show Prints in Subject dropdown.

#### What happened instead

It doesn't select Prints, instead it shows the first option in the dropdown.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the contact form at the supplied URL while logged in and while logged out. Trace how the g13184-subject URL parameter is handled and compare the selected value in the Subject dropdown. Done means the parameter selects Prints for logged-in users without changing the existing anonymous-user behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
backend, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.