fixing beforecasting Form and save button

Hi, now it is 95% functional, it just needs some tweeking
( the save button can add new records now )

Sorry for this evening i was completely tired