Skip to content

Notifications: Add a dropdown with options on the Feedback form #960

@bishwaspraveen

Description

@bishwaspraveen

Description

On the feedback form, users are requested to provide their email address and choose from a selection of contact needs that include:

  • I need help or have a general question
  • I have a data/content question or comment
  • I would like to report an error
  • I have an idea or suggested improvement to share
  • General comment or feedback

Make sure to run this piece of code on shell to populate the dropdown options model after COSMOS deployment.

from feedback.models import FeedbackFormDropdown

# Create all default options
for option in FeedbackFormDropdown.DEFAULT_OPTIONS:
    FeedbackFormDropdown.objects.create(
        name=option['name'],
        display_order=option['display_order']
    )

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions