Upvote 2

How to make any widget component required

Answered Rudy Stricklan 5 years ago

I have several SelectList widgets on a screen. At the bottom of the screen I have a button labeled 'NEXT' that I want to advance to the desired screen, but only if certain of the SelectList widgets have had an entry selected. Something like this pseudocode: goto screen "screen-name" iff widget.user_name and widget.project_number <> null. Maybe the attached .vp file will help to illustrate what I'd like to make happen.

Replies (2)
photo
2

Check out this tutorial on how to create required input interactions. Let me know if you have any questions.

photo
1

Thanks for the answer, Danielle, I had the same question, but I'll expand on it:

- the tutorial shows how to get an error or confirmation after you submit the data

- but good usability says the error/confirmation should be displayed after filling each field (before pressing the submit button)

- how can we condition the fields in confirming the data after the user inserted the said data into each of the fields?

Thanks,

Florin

photo
1

Instead of defining the events for an 'on click' event in the button, you can define them on an 'on focus out' in each of the fields.

photo
2

Even better yet-- thank you, Danielle.

photo
photo
1

Wow-- that's the fastest response I've ever experienced! Thanks, Danielle-- I think the tutorial will get me what I want.

Rudy Stricklan

Leave a Comment
 
Attach a file