form with data passing working