How do I get the values ​​in a text box with code?

You can User another dataset. Do you mean a value of one dataset to another dffrnt dataset? Make the question clear, I think I can help.

I'm doing a login, but I need to take the data that is entered and send to the database!
- 
I'm doing it that way but I do not get the data 

Try using this:

$w.onReady( function () {
$w(“#dataset2”).onAfterSave(sendFormData);

function createLoginCard() { return { “name”: $w(“#name”).value, “number”: $w(“#number”).value, “email”: $w(“#email”).value, “password”: $w(“#password”).value, “time”: $w(“#timer”).value }; }

}

that he placed here