# blankValue

blankValue() function is the Standard function available in 200OK.

**Description** : The blankValue function checks if an expression is blank and returns a substitute expression if it is. If the expression is not blank, it returns the original expression value.

**Syntax** : fx\_blankValue(expression, substitute\_expression)

**Example** : fx\_blankValue( ,Ceptes) will return "Ceptes" if the expression is blank.

Here we go with simple scenario using the above function.

**Scenario** : In a customer feedback system, a support agent is reviewing customer messages submitted through a contact form. They utilize a function to ensure that all messages are captured accurately. If a customer leaves the message field blank, the agent substitutes it with a placeholder text to maintain completeness in the feedback record.

**Request Side** :&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/g-cTm7WvINLhLMZhIC9q9MvTHqt-QnxfamZYqjf5vihbgrtCkpYxTc2NO1irJKBvUGAeepnZ5ioL2Z2drNVG4dCyXGbawYyrSZWO5JYUSrNV9jjxDBbzZH6EEtRB4D6wl1V7USSvblwx5ofejXTLurA" alt=""><figcaption></figcaption></figure>

**Response Side :**&#x20;

<figure><img src="https://lh7-us.googleusercontent.com/olnbJQZD3TxCBeKTIMzT9Ms8RlYpr6T26dTzl_cmil8rSYmePD4fYC76E4TTnLlBy9i7a_ftiV5M9lpKw5oe-kpgmS-92VykmnWZ2a_03fGkBDoCY0l-E8eD1J6udactUa82lMCz0mPLKkIbbpEy1KY" alt=""><figcaption></figcaption></figure>

<br>

<figure><img src="https://lh7-us.googleusercontent.com/V5OhyzCRYaDF1DrC-ETnzrjLYYNJ06ALx0SqtZ3097yndpSyBOxId-Wyxl76PwU-q4Y4nNHGpXp4yjF3N-m9Ua96GhnmJam87MW1aOUKDBy4GUYMAbCNiRBhb7kMqTtEq21NJ4pHsQgC9jLjNCLHkOo" alt=""><figcaption></figcaption></figure>
