Skip to content

refactor: move Kategori field to bottom of submission form#29

Merged
yepzdk merged 1 commit into
mainfrom
feature/move-category-to-bottom
Jun 11, 2026
Merged

refactor: move Kategori field to bottom of submission form#29
yepzdk merged 1 commit into
mainfrom
feature/move-category-to-bottom

Conversation

@yepzdk

@yepzdk yepzdk commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Reorder the "Indsend høringssvar" form so the field order is Dit navn → Titel → Dit høringssvar → Kategori, with the category picked last
  • Applied to both deltag-aarhus prototypes (Vosnæs mocks/index.html and Uniparken mocks/uniparken/index.html)
  • Purely a markup reorder — js/modal-submission.js reads no form fields by position or id, so behaviour is unchanged

Test plan

  • task dev → open the mock, trigger the submission form (open variant → MitID → form)
  • Kategori appears at the bottom, after "Dit høringssvar"; its help text and aria-describedby still work
  • Submitting still shows the success message and auto-closes
  • Same order and behaviour in the Uniparken mock

Generated with Claude Code

Reorder the "Indsend høringssvar" form so users write their answer first
and pick the category last, in both the Vosnæs and Uniparken prototypes.
Purely a markup reorder — the submit handler reads no fields positionally.

Co-authored-by: Claude <noreply@anthropic.com>
@yepzdk yepzdk merged commit 537374b into main Jun 11, 2026
1 check passed
@yepzdk yepzdk deleted the feature/move-category-to-bottom branch June 11, 2026 11:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant