order.emailAddress is undifined

When i running the formHandler.addSubmitHandler(myTruck.createOrder.bind(myTruck)); And the console print “Adding order for undifined”, so i check the truck.js, it seems that the order is a correct project, while the order.emailAddress is undifined, just like the screenshot on below shows. Can anybody help to answer me this problem?


i come up with an idea that the order is a Array so we can not call order.emailAddress instead we should call order[1].emailAddress, am i right?

shawnwu005, check your html file for (“emailInput” - your ’ type’ should be like this (type = “email”) and the name must match with your truck.js - order.emailAddress).