Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
Answered
Creating check boxes in bot message

Wanted to know if we could use forms and check boxes to take inputs from users and wanted a reference for creating forms with check boxes.

  
  
Posted one year ago
Edited one year ago
  
  

is selecting multiple check boxes possible by this method, as in a list of symphony chat rooms is mentioned and a message is needed to send to multiple rooms so we create a slash command which provides checkbox with multiple option and is it possible to create a check box form where selecting multiple boxes is possible. And how do we know which checkbox is selected and which is not.

kunaal bokadia   one year ago Report
Votes Newest

Answers


Hi Kunaal,
Symphony Elements enables developers to create forms with a variety of data input types for capturing information from an end user. One of those is check boxes.

Here is an example here:
checkboxes-20.9.gif

The MessageML to create that is shown below.

<messageML>
  <form id="form_id">
    <checkbox name="id1" value="value01" checked="true">Red</checkbox>
    <checkbox name="id2" value="value02" checked="false">Green</checkbox>
    <checkbox name="id3" value="value03" checked="false">Blue</checkbox>
    <button type="reset">Reset</button>
    <button name="example-button" type="action">Submit</button>    
  </form>
</messageML>

Further information on Symphony Elements and check boxes can be found here:
https://docs.developers.symphony.com/building-bots-on-symphony/messages/overview-of-messageml/symphony-elements-1/checkbox

Kind regards,

  
  
Posted one year ago
Vinay Mistry
23 × 2 Administrator