- Add an enum to your entity with values like NOT_A_MEMBER, VIP_MEMBER, COMMON
- Call a MF for onChange on the ID card text field
- Based on your conditions Set the ENUM value in your entity
- Add Label or Text with conditional visibility to show message based on ENUM
- Use change activity to refresh your entity
Now that your question is answered, please spend time in reading Rapid application development course.