Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The example above excludes the method IUD from the recommended methods to a user in Guatemala.

Back to top

...

Answer based exceptions

To configure this type of exclusion, use the following elements:

...

Code Block
"breastFeeding:[Y]":{
            "add" : [],
            "remove" : [],
            "replace" : [{"COP":"POP"}]
        },

...

...

Disclaimers

It is possible to add disclaimers according to a specific answer. These messages will be returned and should be shown on the UI as informational text messages. As in the questions.json file, the message is a term in POEditor but the variable is configured in the exceptions file.

...

Code Block
 "excludeAnswerBased":{
        "breastFeeding:[Y]":{
            
            "replace" : [{"COP":"POP"}]
        },

...

...

Other Changes: new logic

Add a new exception section

...