Reputation: 403
I'm currently handling with a problem. I need to make like a form to create something like this:
So, I'm trying to make a form with a Slack's Dialog but my problem is that only supports 5 inputs, this is my current process:
Is there another way to input text or dropdowns and return that kind of format ? or how can I add more inputs (5+) to a dialog ?
Upvotes: 3
Views: 1659
Reputation: 32852
No, you can not have more than 5 inputs in your Slack Dialog. Its the current upper hard limit.
Dialogs are the best way on Slack for structured text input. But you could also use text input from a slash command, e.g. /command "first input" "second input"
You can also create drop downs with message menus
To solve your problem of needing to query more than 5 inputs from the user in Slack I think you have two options:
Update July 2017
You can now use up to 10 elements per Dialog. See here for details.
Upvotes: 2
Reputation: 11
Currently the limit is 10 for each dialog. In case you need to retain the state of the previous dialog, or want to get the previous dialog input values in the next dialog submit processors, you can use state field in the dialog attachment. The state field take values as text and you can possibly put a delimiter like below:
"state": "input1|input2|inout3...|input10"
and get the values in the next dialog processor.
Upvotes: 1