Custom inputs in conditions

Many apps use custom input fields such as combo boxes, date fields or type-ahead fields.

combobox

Userflow has a nifty condition type, Text input value, which can read the value of a text input and compare it to some value you define. Such a condition could, for example, advance the user to the next step.

Text input value condition

Until now, dealing with the value of custom input fields was a pain though. They simply didn’t work with +Text input value_ conditions. Now they do work!

It just takes a single line of configuration in your app (have your developers do this). With the new userflow.registerCustomInput() method, you can tell Userflow to treat your custom inputs as regular text inputs. Userflow will then read the text content of matching elements. Example:

userflow.registerCustomInput('.my-combobox-value')

Demo:

custom input demo

Let me know if you’d like help setting this up in your app!

More from Userflow