Conditional redirect on form submit

With project NodeJS
After the success of a submit of a form, I would like to be able to redirect to two different pages depending on the value of a field of the form
It’s possible?

if fieldXXX = “1” browser1.goto('page1')"
… ???
if fieldXXX = “2” browser1.goto('page2')"

Community Page
Last updated: