When I set "Question text" to "Who is there?"

Set a field of the form, found by its label as the form shows it (the colon left out), whatever its kind: a text; a list (the option's text); a box ("yes" or "no"); a date ("2026-01-15", "today"); a time ("10:30:00", "now"); a date and time ("2026-01-15 10:30:00", or "now" for the shortcuts "Today" and "Now"); an autocomplete field (the object's text: the step types it and chooses the answer); a two-list selector ("Fun, Serious": exactly those chosen).

Examples

When I set "Question text" to "Who is there?"
When I set "Date published" to "2026-01-15 10:30:00"
And I set "Category" to "Science"
And we set "Tags" to "Fun, Serious"
When I set "Date published" to "now"

Pattern

When(/^(I |we )*set "([^"]*)" to "([^"]*)"$/, …)

Part of @webship-js/django-steps (github.com/webship/django-steps), a step pack for Webship-js 2.0.x.