Welcome to Axure Community Site Sign in | Join | Help
in Search

how to: set text on button widget using onpageload feature

Last post 09-24-2008, 7:05 PM by davemc. 2 replies.
Sort Posts: Previous Next
  •  09-24-2008, 1:59 PM 3389

    how to: set text on button widget using onpageload feature

    Normal 0 false false false EN-US X-NONE X-NONE MicrosoftInternetExplorer4 /* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0in 5.4pt 0in 5.4pt; mso-para-margin-top:0in; mso-para-margin-right:0in; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;}

    Hello,

    I am fairly new to Axure, but have a question.   I am trying to set the text on a button

    widget using the onpageload feature, but the widget is not in the list of widgets available. 

     

    I created a button labeled "navbutton" .   I wanted to change the text based on a variable I set,

    so I can multi-use the same page...but when I look for the widget, the name navbutton is not found.

     

    Here are the steps i used..after labeling the button:

    1)       Add a case in page interactions, choose onpageload

    2)      Check the set variable and widget values equal to values line

    3)      Click the same link in step 3

    4)      Change the first dropdown value to "text on widget"

    5)      Open the second dropdown, observe the label I set for the button is not there.

     

    What should I be doing to set the button text using onpageload?  Or is there another place

    to accomplish this?

     

    Thanks,

    Dave

     

  •  09-24-2008, 5:20 PM 3390 in reply to 3389

    Re: how to: set text on button widget using onpageload feature

    Hi Dave,

    Text on button widgets cannot be set dynamically. However, if you use a button shape widget, you can dynamically set the text on button shapes.

  •  09-24-2008, 7:05 PM 3391 in reply to 3390

    Re: how to: set text on button widget using onpageload feature

    I'll try that, thanks for the tip!
View as RSS news feed in XML