Link text block to dataset

I would like the dataset table to identify the form of the membership type that the user is filling out whether it is the single, family, or founder form that they clicked on.

Used this and it worked
$w . onReady ( function () {
$w ( “#input10” ). value = $w ( “#text29” ). text ;

});