Welcome to Axure Community Site Sign in | Join | Help

Passing And Showing Global Variables

  •  03-18-2008, 8:23 PM

    Passing And Showing Global Variables

    So I'm sure there is a simple solution for this and I will kick myself when I see it, but I've been looking at this so long and haven't made any progress I figure I'd just ask for help.

    I'm using the 5.0 beta and I have a home page with a search text field on it. Based on the value that gets entered into the text field I want to send a user to a specific screen and show the text that they entered on that screen.

    So the way I thought it would work would be to use a text field on the home page, let's call it Search_Field and the Search button Search_Button. I also create a global variable called SearchText. I set an Onclick case for Search_Button that

    If text on widget Search_Field equals "HDTV"
    Set value of variable SearchText equal to text on widget Search_Field
       and Open Search Results A in Current Window

    That all seems to work fine as when I type HDTV into Search_Field I get take to the page Search Results A. My problem is that for the life of me how do I show the value of the SearchText variable? I tried using a Text Panel, Text Field and Text Area but I just don't know how I make the value appear when the page loads. Any and all help will be greatly appreciated!

     

    Cheers,

    Nick
     

    Filed under:
View Complete Thread