method getData for form and css bootstrap