Evaluate TextEntry Jan 31, 2014 By Kate Petersen I'm not a javascript writer! How can I set a trigger on a button so it doesn't work unless there is something entered in the TextEntry field on the page? What would I as the trigger condition for the TextEntry variable's value? I'm stumped. Thanks for your help. K P
Seth Ozen 10 years ago01/31/14 at 2:16 pm (UTC) Hi Kate, You can try this: Create a variable for your text field and attach a condition to your button's trigger as follows: button do something if variable is not equal to blank. See the attached and hope it helps. Seth required.story
Kate Petersen Author 10 years ago01/31/14 at 2:26 pm (UTC) That does it! I had put "Null" - but leaving the condition actuall blank is the trick.Thanks very much, Seth. KP
2 Replies
Hi Kate,
You can try this:
Create a variable for your text field and attach a condition to your button's trigger as follows:
button do something
if variable is not equal to blank.
See the attached and hope it helps.
Seth
That does it! I had put "Null" - but leaving the condition actuall blank is the trick.
Thanks very much, Seth.
KP
This discussion is closed. You can start a new discussion or contact Articulate Support.