how I can do a search engine to load a page?

Hello

I need a suggestion to make the following:

I have a searcher of people and I want display a view in case that people is not registered in the form "people register", so when I register him, this content must be hide and display the information register, to later select a lot of checkbox.

If you have any suggestion, link or example I will be so grateful.

I can't quite understand what you want but my suggestion is;

Make use of dispatcher forward to an action based on the results of your search inside the controller. Based on the results you can always set the view to a specific layout.