Redirect to form

How would I redirect to a page with a form on it till the user feels out the form?  I dont want them accessing any other pages till the form is filled out.

I know this is wrong but something along the lines of this:

$user = elgg_get_logged_in_user_entity();

$field = $user->field;

if(!$field){

forward("form");

}