Stateless form on success insert to other form

Stateless form on success insert to other form

I have a stateless form set up whereby people will enter details from a drop down look up.

If (Health_and_Safety_Assesment (SurnameHSA == HS_Sign_In.Surname ==  null);

insert into Health_and_Safety_Assesment;
                                {
                                    Added_User = zoho.loginuser;
                                    input.SurnameHSA = Surname;
                                    }

it is coming up with error on line one