This is a migrated thread and some comments may be shown as answers.

Something that should be simple

0 Answers 44 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Ron Richins
Top achievements
Rank 1
Ron Richins asked on 31 Jan 2012, 08:03 PM
Conditional navigation.

I would like to have a view that requests one of two things, License plate number and/or a Last name.

With a Search button in the footer, on click I would like to determine whether a License plate was entered, if so retrieve data from the server, if found I would like to transition to the vehicle view, if not found display an error on my current view. I a Last name was entered I would like to do the same process but display the customer view on success.

How would I set up the buttons to call a common function, and programmatically switch views or re-display the current view if there is an error?

No answers yet. Maybe you can help?

Tags
General Discussions
Asked by
Ron Richins
Top achievements
Rank 1
Share this question
or