Skip to content

Insert Text

javier7ar edited this page Oct 11, 2017 · 2 revisions

Step object: InsertText

  • type : "InsertText"
  • text : String. The text to show as instructions
  • sampleText : String. The text to show as sample text
  • inputType : String. The input type of the text edit. Values allowed are: text, number or decimal
  • maxLength : Int. The maximum number of characters allowed
  • optional : Boolean. True if its allowed to leave the text input blank

Example:

{
  "id" : 1,
  "type" : "InsertText",
  "text" : "Please, insert the name of the river",
  "sampleText" : "river name",
  "inputType" : "text",
  "maxLength" : 50,
  "optional" : true,
  "helpFileName" : "help.html",
  "nextStepId" : 2
}

Clone this wiki locally