I have one TextBox (named BoxUser) and a PasswordBox (BoxPAssword) with value Password (*******) in the GUI which i have created
Now i want to edit BoxPassword field value to: ” ” when a user write his own password to access the application.
I thought about using clickservers…
this code should work but doesnt
My handlers works right(serverHandler to clear_pass) + “Name of panel”
Please help!.
function doGet(){
var app = UiApp.createApplication().setTitle("Panel de acceso");
var Panel = app.loadComponent("Acceso");
app.add(Panel);
return app;
};
**function clear_pass(e){**
var app = UiApp.getActiveApplication();
var Panel = app.loadComponent("Acceso");
var BoxPassword = app.getElementById("BoxPassword");
BoxPassword.setText("");
app.add(Panel);
return app;
};
1 Answer