form fixes
More work on veiw dynamic generation