Skip to content

feat: validate phone field#206

Merged
Rl0007 merged 2 commits into
BuildWithHussain:mainfrom
vishwajeet-13:feat/validate-buzz-custom-fields
Jun 4, 2026
Merged

feat: validate phone field#206
Rl0007 merged 2 commits into
BuildWithHussain:mainfrom
vishwajeet-13:feat/validate-buzz-custom-fields

Conversation

@vishwajeet-13
Copy link
Copy Markdown
Collaborator

image

Comment thread buzz/api/__init__.py Outdated
Comment on lines +428 to +436
phone_fields = frappe.db.get_all(
"Buzz Custom Field",
filters={"event": event, "enabled": 1, "fieldtype": "Phone"},
fields=["fieldname", "label"],
)
phone_map = {cf["fieldname"]: cf["label"] for cf in phone_fields}

if booking_custom_fields:
validate_custom_fields(booking_custom_fields, phone_map)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why two places?

@Rl0007 Rl0007 merged commit 2c7d051 into BuildWithHussain:main Jun 4, 2026
5 checks passed
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.

3 participants