diff --git a/apps/web/modules/bookings/views/bookings-single-view.tsx b/apps/web/modules/bookings/views/bookings-single-view.tsx index 6403f3b57d..2b0176260a 100644 --- a/apps/web/modules/bookings/views/bookings-single-view.tsx +++ b/apps/web/modules/bookings/views/bookings-single-view.tsx @@ -24,7 +24,11 @@ import { useIsEmbed, } from "@calcom/embed-core/embed-iframe"; import { Price } from "@calcom/features/bookings/components/event-meta/Price"; -import { SMS_REMINDER_NUMBER_FIELD, SystemField } from "@calcom/features/bookings/lib/SystemField"; +import { + SMS_REMINDER_NUMBER_FIELD, + SystemField, + TITLE_FIELD, +} from "@calcom/features/bookings/lib/SystemField"; import { APP_NAME } from "@calcom/lib/constants"; import { formatToLocalizedDate, @@ -91,6 +95,7 @@ export default function Success(props: PageProps) { const pathname = usePathname(); const searchParams = useCompatSearchParams(); const { eventType, bookingInfo, requiresLoginToUpdate } = props; + const { allRemainingBookings, isSuccessBookingPage, @@ -518,7 +523,13 @@ export default function Success(props: PageProps) { if (!field) return null; const isSystemField = SystemField.safeParse(field.name); // SMS_REMINDER_NUMBER_FIELD is a system field but doesn't have a dedicated place in the UI. So, it would be shown through the following responses list - if (isSystemField.success && field.name !== SMS_REMINDER_NUMBER_FIELD) return null; + // TITLE is also an identifier for booking question "What is this meeting about?" + if ( + isSystemField.success && + field.name !== SMS_REMINDER_NUMBER_FIELD && + field.name !== TITLE_FIELD + ) + return null; const label = field.label || t(field.defaultLabel || ""); diff --git a/packages/emails/src/components/UserFieldsResponses.tsx b/packages/emails/src/components/UserFieldsResponses.tsx index 6e89c87453..8bb6454213 100644 --- a/packages/emails/src/components/UserFieldsResponses.tsx +++ b/packages/emails/src/components/UserFieldsResponses.tsx @@ -16,7 +16,7 @@ export function UserFieldsResponses(props: { calEvent: CalendarEvent; t: TFuncti labelValueMap[key] !== "" ? ( > = {}; if (userFieldsResponses) { + if (!!responses?.[TITLE_FIELD] && !isDynamicEvent) { + userFieldsResponses[TITLE_FIELD] = responses[TITLE_FIELD]; + } + for (const [, value] of Object.entries(userFieldsResponses)) { if (!value.label) { continue;