Select values

How can I select a single value in a form :question:
My Test:

function get(){ var data = $$('myform').getValues(); dhx.notice(data.s1); dhx.notice(data.s2); dhx.notice(data.s3); dhx.notice(data.user); // okey dhtmlx.alert(data.user); // false var value_user = data.user; alert( 'Test', data.user); // false };

Thanks for help


getValues() method returns a hash of form data.

var data = $$(“form1”).getValues();
var value = data[“text1”];

You can also apply getValue() method to form input:

var value = $$(“text1”).getValue(); //text1 is input id

:smiley: thanks!