Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: remove verified prefix on blank verified fields #1701

Merged
merged 2 commits into from
Apr 22, 2021

Conversation

yong-jie
Copy link
Member

Problem

In the submission emails sent to form admins, verified fields have the [verified] prefix. However, this prefix is also present for optional verified fields that were left blank.

Closes #844

Solution

Include an extra check to ensure that the field is not blank before adding the [verified] prefix.

Before & After Screenshots

BEFORE:
image

AFTER:
image

Copy link
Contributor

@mantariksh mantariksh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mantariksh mantariksh merged commit 21449b8 into develop Apr 22, 2021
@yong-jie yong-jie deleted the fix/blank-verified-fields branch April 22, 2021 05:50
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.

[verified] prefix should not be present on blank verified fields
2 participants