Vladimir B
Vladimir B

Reputation: 178

change JSON prompt description in formflow-json-schema

In formflow-json-schema I want to add next description

Your last Order has the following details

for my Prompt CustomerOrders, but currently it is using from EnumSelectOne "Please let me know the customer orders:"

JSON

"required": [
"CustomerOrders",
],
"Templates": {
"NotUnderstood": {
  "Patterns": [ "I do not understand \"{0}\".", "Try again, I don't get \"{0}\"." ]
},
"EnumSelectOne": {
  "Patterns": [ "Please let me know the {&}: {||}" ],
  "ChoiceStyle": "Auto"
}
},
"properties": {

  "CustomerOrders": {
    "Templates": {"NoPreference": { "Patterns": [ "None" ] }},
},
  "type": [
    "string",
    "null"
  ],
   "Define": "return await dllOrders (state,field);"

  },

this is sample of problem

Upvotes: 0

Views: 91

Answers (1)

Ezequiel Jadib
Ezequiel Jadib

Reputation: 14787

Try with the Prompt property.

 "Length": {
      "Prompt": {
        "Patterns": [ "What size of sandwich do you want? {||}" ]
      }

Upvotes: 1

Related Questions