Experience the difference of "Elite".

Custom Field Definition

Daniel
May 8, 2017 1:27 AM
Joined Jul, 2016 17 posts

It seems like that when a value in a custom field is not defined, the system automatically displays "[Custom field PXHOTTUBCODE is empty for this property].

I have some properties where hot tub code is required and some properties where guests don't need a code. I would like to use one welcome email for all properties, but when the error message "[Custom field PXHOTTUBCODE is empty for this property]" is printed in the welcome email, it's not really helpful information to the guest and it signals that something is wrong.

Is there a way to turn the "error" message off and simply leave it blank when there is no value? So in the case that the field value is not defined - they don't need the code - it would not print anything in the welcome email.

Thank you.

Daniel

Chris Hynes
May 8, 2017 2:35 AM
OR Team Member Joined Oct, 2012 1400 posts

That informational text is only shown in the preview -- to make sure you don't wonder why it was blank. Good point that we should clarify that so you don't wonder what the real email will look like.

When an email is sent, any fields with missing values aren't rendered at all. You can test for yourself by going to a booking for that property with no PXHOTTUBCODE, using the "Email this Guest" button and switching to that booking template:

Daniel
May 8, 2017 10:38 AM
Joined Jul, 2016 17 posts

Awesome! Thank you, Chris!