Skip to main content
12-Amethyst
Nov 8, 2018 4:50 PM UTC
Question

Redirect users to different mashups based on values entered in text boxes

Hello All,

 

Can someone help on  how to redirect user to different mashups based on values entered in two different text box? For example I have textbox1 and textbox2. If user enters values in textbox1, I want to redirect them to Mashup1 and if they enter values in textbox2, I want to redirect them to Mashup2.

 

Thanks,

Riz

 

 

5 replies

20-Turquoise
Nov 8, 2018 9:46 PM UTC

You'd have to use an expression widget  (or event router possibly) and a navigation widget . Your service would evaluate and spit out possible outputs that you'd  then bind to the navigation widget.

Translate
12-Amethyst
Nov 13, 2018 10:01 AM UTC

Thanks for the reply posipova!

 

How would we decide where to navigate based on output?

can you give an example if possible?

Translate
5-Regular Member
Nov 9, 2018 3:05 AM UTC

Yes you can.

 

For Textbox1, you can bind the Changed or EnterKeyPressed event to an Invisible Navigate widget, when you finished typing inside, the Navigate widget will be triggered and direct to Mashup1.

 

Do the same thing for Textbox2 and Mashup2.

 

(Set Mashup properties in the related Mashup 1&2, you can pass the value entered in Textbox to the mashup you opened)

Translate
5-Regular Member
Nov 13, 2018 8:27 AM UTC

@Riz-4165786

 

Hope you are doing good. Could you please confirm if the issue has been resolved.

 

If yes, please mark the answer as accept as solution for the future reference. Thank you in advance.

Regards-Mohit Goel

Translate